version actuelle du printemps, nous utilisons est de 3,2 .est compatible avec jdk ouvert 7Quelle est la version du printemps soutient jdk ouverte ou vice versa s'il vous plaît confirmer
nous obtenons l'erreur suivante après avoir remplacé le jre et jdk pour ouvrir jdk
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationContext-main' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1041)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:273)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1008)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(Singlet
Ceci est la pleine trace de la pile
[main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing
org[email protected]3f9a23f5: startup date [Mon Dec 12 05:35:37 IST 2016]; root of context hierarchy
[main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.s[email protected]1ec73967: defining beans []; root of factory hierarchy
Application context could not be created. Will now exit
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [applicationContext-main], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationContext-main' is defined
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
en dessous est la trace de la pile qui est partagée plus tôt
Publiez la trace de pile complète au lieu d'un extrait. Sauf si vous utilisez des classes de soleil internes, rien ne devrait vous empêcher d'utiliser OpenJDK. –
Merci pour votre réponse denim pouvez-vous vérifier la dernière trace de pile et nous aider ?? –
Apparemment, il ne trouve pas vos ressources là où il les attend. Donc, soit cela a fonctionné avant par chance de cisaillement ou il y a un problème avec la résolution des chemins avec OpenJDK. Vous passez uniquement à OpenJDK vous ne passez pas de la version 6 à la version 7? –