五月 11, 2018 1:18:40 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:zhjqapi' did not find a matching property.
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/8.0.43
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 28 2017 14:42:59 UTC
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 8.0.43.0
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: D:\Java\jdk1.8.0_144\jre
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_144-b01
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: E:\apache-tomcat-8.0.43
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: E:\apache-tomcat-8.0.43
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\apache-tomcat-8.0.43
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\apache-tomcat-8.0.43
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\apache-tomcat-8.0.43\wtpwebapps
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\apache-tomcat-8.0.43\endorsed
五月 11, 2018 1:18:40 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
五月 11, 2018 1:18:40 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jdk1.8.0_144\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files\Java\jdk1.6.0_45\bin;D:\Program Files\Java\jdk1.6.0_45\jre\bin;C:\Program Files\Git\cmd;C:\Program Files\gradle-3.1\bin;C:\Program Files\nodejs\;C:\Programs\Python;D:\Program Files\TortoiseSVN\bin;D:\Develop\apache-maven-3.3.9\bin;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\Qian\AppData\Local\Microsoft\WindowsApps;C:\Users\Qian\AppData\Roaming\npm;C:\Users\Qian\AppData\Local\GitHubDesktop\bin;.
五月 11, 2018 1:18:41 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
五月 11, 2018 1:18:42 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
五月 11, 2018 1:18:42 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
五月 11, 2018 1:18:42 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
五月 11, 2018 1:18:42 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2770 ms
五月 11, 2018 1:18:42 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 11, 2018 1:18:42 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.43
五月 11, 2018 1:19:03 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
五月 11, 2018 1:19:03 下午 org.apache.catalina.core.ApplicationContext log
信息: 2 Spring WebApplicationInitializers detected on classpath
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.2.RELEASE)
2018-05-11 13:19:06.149 INFO 11160 --- [ost-startStop-1] cn.smartjq.ServletInitializer : Starting ServletInitializer v0.0.1-SNAPSHOT on DESKTOP-3MHCBGE with PID 11160 (E:\apache-tomcat-8.0.43\wtpwebapps\zhjqapi\WEB-INF\classes started by Qian in C:\Program Files\sts-bundle\sts-3.9.2.RELEASE)
2018-05-11 13:19:06.167 INFO 11160 --- [ost-startStop-1] cn.smartjq.ServletInitializer : No active profile set, falling back to default profiles: default
2018-05-11 13:19:06.806 INFO 11160 --- [ost-startStop-1] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6011b73: startup date [Fri May 11 13:19:06 CST 2018]; root of context hierarchy
2018-05-11 13:19:11.447 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2b55b1df] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.603 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [class org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$c4037a19] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.637 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'objectPostProcessor' of type [class org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.646 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@6590cc48' of type [class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.673 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$e8d81ccb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.723 INFO 11160 --- [ost-startStop-1] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-11 13:19:11.842 INFO 11160 --- [ost-startStop-1] o.a.c.c.C.[.[localhost].[/zhjqapi] : Initializing Spring embedded WebApplicationContext
2018-05-11 13:19:11.842 INFO 11160 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 5036 ms
2018-05-11 13:19:13.630 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'errorPageFilter' to: [/*]
2018-05-11 13:19:13.630 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-05-11 13:19:13.631 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-05-11 13:19:13.631 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-05-11 13:19:13.631 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2018-05-11 13:19:13.636 INFO 11160 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*]
2018-05-11 13:19:13.637 INFO 11160 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2018-05-11 13:19:13.955 WARN 11160 --- [ost-startStop-1] com.arjuna.ats.common : ARJUNA048002: Could not find configuration file, URL was: null
2018-05-11 13:19:14.047 INFO 11160 --- [ost-startStop-1] com.arjuna.ats.jbossatx : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc.
2018-05-11 13:19:24.226 WARN 11160 --- [ost-startStop-1] com.arjuna.ats.common : ARJUNA048006: cant create new instance of {0}
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.8.0_144]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [na:1.8.0_144]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.8.0_144]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [na:1.8.0_144]
at com.arjuna.common.internal.util.ClassloadingUtility.loadAndInstantiateClass(ClassloadingUtility.java:129) [common-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.objectstore.StoreManager.initStore(StoreManager.java:151) ~[arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.objectstore.StoreManager.getActionStore(StoreManager.java:110) ~[arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.objectstore.StoreManager.getRecoveryStore(StoreManager.java:67) ~[arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.<init>(AtomicActionRecoveryModule.java:67) ~[arjuna-5.3.5.Final.jar:5.3.5.Final]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.8.0_144]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [na:1.8.0_144]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.8.0_144]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [na:1.8.0_144]
at java.lang.Class.newInstance(Class.java:442) [na:1.8.0_144]
at com.arjuna.common.internal.util.ClassloadingUtility.loadAndInstantiateClass(ClassloadingUtility.java:135) [common-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.common.internal.util.ClassloadingUtility.loadAndInstantiateClassesWithInit(ClassloadingUtility.java:192) [common-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean.getRecoveryModules(RecoveryEnvironmentBean.java:465) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModules(PeriodicRecovery.java:883) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.<init>(PeriodicRecovery.java:121) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>(RecoveryManagerImple.java:107) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.recovery.RecoveryManager.<init>(RecoveryManager.java:477) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:132) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:112) [arjuna-5.3.5.Final.jar:5.3.5.Final]
at com.arjuna.ats.jbossatx.jta.RecoveryManagerService.create(RecoveryManagerService.java:54) [narayana-jts-integration-5.3.5.Final.jar:5.3.5.Final (revision: bb19f)]
at org.springframework.boot.jta.narayana.NarayanaRecoveryManagerBean.afterPropertiesSet(NarayanaRecoveryManagerBean.java:46) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1131) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1059) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) [spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.get
部署在tomcat上的Spring Boot项目,启动报错:java.lang.reflect.InvocationTargetException: null
最新推荐文章于 2024-08-15 09:03:08 发布
本文介绍了在部署Spring Boot项目到Tomcat时遇到的`java.lang.reflect.InvocationTargetException`错误,错误源于项目配置文件指定的Java版本与实际使用的不匹配。解决方法包括检查并确保项目配置与开发环境一致,以及调整Tomcat配置,如在STS中修改相关设置以匹配Java 1.7版本。
摘要由CSDN通过智能技术生成