已有258人关注
怎么办?tomcat9.0.34一运行就这样
发表在Java答疑区 2020-05-14
是否精华
版块置顶:

NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

14-May-2020 21:29:47.850 警告 [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [J:\apache-tomcat-9.0.34\bin\lib], exists: [false], isDirectory: [false], canRead: [false]

14-May-2020 21:29:47.888 警告 [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [J:\apache-tomcat-9.0.34\bin\lib], exists: [false], isDirectory: [false], canRead: [false]

14-May-2020 21:30:09.156 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本:     Apache Tomcat/9.0.34

14-May-2020 21:30:09.156 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建:            Apr 3 2020 12:02:52 UTC

14-May-2020 21:30:09.157 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(:9.0.34.0

14-May-2020 21:30:09.159 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10

14-May-2020 21:30:09.160 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:               10.0

14-May-2020 21:30:09.160 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构:                  amd64

14-May-2020 21:30:09.161 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:         C:\Program Files\Java\jdk-14.0.1

14-May-2020 21:30:09.161 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本:              14.0.1+7

14-May-2020 21:30:09.161 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:            Oracle Corporation

14-May-2020 21:30:09.161 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:[C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects]

14-May-2020 21:30:09.161 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         J:\apache-tomcat-9.0.34

14-May-2020 21:30:09.162 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[--add-opens=java.base/java.lang=ALL-UNNAMED]

14-May-2020 21:30:09.162 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[--add-opens=java.base/java.io=ALL-UNNAMED]

14-May-2020 21:30:09.162 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED]

14-May-2020 21:30:09.163 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djava.util.logging.config.file=C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects\conf\logging.properties]

14-May-2020 21:30:09.164 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager]

14-May-2020 21:30:09.164 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dfile.encoding=UTF-8]

14-May-2020 21:30:09.164 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcom.sun.management.jmxremote=]

14-May-2020 21:30:09.164 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcom.sun.management.jmxremote.port=1099]

14-May-2020 21:30:09.165 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcom.sun.management.jmxremote.ssl=false]

14-May-2020 21:30:09.165 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcom.sun.management.jmxremote.password.file=C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects\jmxremote.password]

14-May-2020 21:30:09.165 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcom.sun.management.jmxremote.access.file=C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects\jmxremote.access]

14-May-2020 21:30:09.165 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djava.rmi.server.hostname=127.0.0.1]

14-May-2020 21:30:09.166 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djdk.tls.ephemeralDHKeySize=2048]

14-May-2020 21:30:09.166 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djava.protocol.handler.pkgs=org.apache.catalina.webresources]

14-May-2020 21:30:09.167 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dignore.endorsed.dirs=]

14-May-2020 21:30:09.167 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcatalina.base=C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects]

14-May-2020 21:30:09.168 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Dcatalina.home=J:\apache-tomcat-9.0.34]

14-May-2020 21:30:09.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:[-Djava.io.tmpdir=C:\Users\乔鲁诺 乔巴纳\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_IdeaProjects\temp]

14-May-2020 21:30:09.204 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0].

14-May-2020 21:30:09.204 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

14-May-2020 21:30:09.205 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true]

14-May-2020 21:30:09.215 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c  28 May 2019]

14-May-2020 21:30:09.958 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]

14-May-2020 21:30:10.039 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[15,075]毫秒内初始化

14-May-2020 21:30:10.199 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]

14-May-2020 21:30:10.199 信息 [main] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/9.0.34]

14-May-2020 21:30:10.233 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"]

14-May-2020 21:30:10.260 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in [220] milliseconds


分享到:
精彩评论 3
小白12138
学分:53 LV3
2020-05-14
沙发

Connected to server

[2020-05-14 09:30:10,540] Artifact jetbrains-agent.jar: Artifact is being deployed, please wait...

14-May-2020 21:30:11.724 严重 [RMI TCP Connection(7)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [manageApp]

java.lang.IllegalStateException: Error starting child

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)

at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)

at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)

at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)

at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)

at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

at java.management/com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1406)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:827)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)

at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)

at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)

at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)

at java.base/java.lang.Thread.run(Thread.java:832)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@6e2abd2b]

at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)

... 42 more

Caused by: java.lang.IllegalArgumentException: 指定的主资源集 [J:\jetbrains-agent.jar] 无效

at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:752)

at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:709)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

... 46 more

14-May-2020 21:30:11.740 严重 [RMI TCP Connection(7)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [createStandardContext]

javax.management.RuntimeOperationsException: Exception invoking method [manageApp]

这是后半部分

小白12138
学分:53 LV3
2020-05-14
板凳

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)

at java.base/java.lang.Thread.run(Thread.java:832)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@6e2abd2b]

at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)

... 42 more

Caused by: java.lang.IllegalArgumentException: 指定的主资源集 [J:\jetbrains-agent.jar] 无效

at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:752)

at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:709)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

... 46 more

14-May-2020 21:30:11.740 严重 [RMI TCP Connection(7)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [createStandardContext]

javax.management.RuntimeOperationsException: Exception invoking method [manageApp]

at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:298)

at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)

at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)

at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)

at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)

at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

at java.management/com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1406)

at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:827)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)

at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)

at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)

at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)

[2020-05-14 09:30:11,881] Artifact jetbrains-agent.jar: Error during artifact deployment. See server log for details.

at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)

at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)

at java.base/java.lang.Thread.run(Thread.java:832)

Caused by: java.lang.IllegalStateException: Error starting child

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)

... 34 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@6e2abd2b]

at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)

... 42 more

Caused by: java.lang.IllegalArgumentException: 指定的主资源集 [J:\jetbrains-agent.jar] 无效

at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:752)

at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:709)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

... 46 more


根号申
学分:4736 LV12
TA的每日心情
2021-07-16 23:48:46
2020-05-16
地板

可能性最大的就是你代码写的不对,servlet设置有问题,删了重写

首页上一页 1 下一页尾页 3 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照