lirn Posted March 25, 2019 Share Posted March 25, 2019 Hi admin,There is always something wrong when I deploy my war files, Could you please advise me where I can find the error logs and help to dig into the errors many thanks. my ID: lirn and the war file name is :aml.war. Link to comment Share on other sites More sharing options...
wolstech Posted March 25, 2019 Share Posted March 25, 2019 Krydos has to get these logs for you. Link to comment Share on other sites More sharing options...
Krydos Posted March 25, 2019 Share Posted March 25, 2019 [ERROR] 2019-03-25 01:50:17 :Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring-servlet.xml]; nested exception is java.lang.IllegalStateException: Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher According to https://stackoverflow.com/questions/23813369/spring-java-error-namespace-element-annotation-config-on-jdk-1-5-and-high you're probably using too old of a spring version for our server. Tommy is running Tomcat 9.0.12 and java 1.8.0_191. It will make deployment easier for you if you develop your application using those same versions on your home pc. Link to comment Share on other sites More sharing options...
Recommended Posts