• IDEA建立Structs2项目


    暴躁

    错误日志

    C:aaajavaeeapache-tomcat-9.0.24incatalina.bat run
    [2019-10-17 09:15:27,217] Artifact test1:war exploded: Waiting for server connection to start artifact deployment...
    Using CATALINA_BASE:   "C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1"
    Using CATALINA_HOME:   "C:aaajavaeeapache-tomcat-9.0.24"
    Using CATALINA_TMPDIR: "C:aaajavaeeapache-tomcat-9.0.24	emp"
    Using JRE_HOME:        "C:Program FilesJavajdk1.8.0_131"
    Using CLASSPATH:       "C:aaajavaeeapache-tomcat-9.0.24inootstrap.jar;C:aaajavaeeapache-tomcat-9.0.24in	omcat-juli.jar"
    17-Oct-2019 21:15:28.609 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本:        Apache Tomcat/9.0.24
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.构建:          Aug 14 2019 21:16:42 UTC
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.24.0
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:            10.0
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 结.:          amd64
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:             C:Program FilesJavajdk1.8.0_131jre
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本:           1.8.0_131-b11
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:            Oracle Corporation
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:aaajavaeeapache-tomcat-9.0.24
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1conflogging.properties
    17-Oct-2019 21:15:28.612 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1jmxremote.password
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1jmxremote.access
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:Userschangfeng.IntelliJIdea2019.1system	omcatindex_jsp_test1
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:aaajavaeeapache-tomcat-9.0.24
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:aaajavaeeapache-tomcat-9.0.24	emp
    17-Oct-2019 21:15:28.613 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0].
    17-Oct-2019 21:15:28.616 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    17-Oct-2019 21:15:28.616 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
    17-Oct-2019 21:15:28.620 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c  28 May 2019]
    17-Oct-2019 21:15:28.859 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]
    17-Oct-2019 21:15:28.886 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["ajp-nio-8009"]
    17-Oct-2019 21:15:28.890 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[499]毫秒内初始化
    17-Oct-2019 21:15:28.928 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
    17-Oct-2019 21:15:28.928 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.24]
    17-Oct-2019 21:15:28.938 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"]
    17-Oct-2019 21:15:28.947 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["ajp-nio-8009"]
    17-Oct-2019 21:15:28.950 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in [59] milliseconds
    Connected to server
    [2019-10-17 09:15:29,287] Artifact test1:war exploded: Artifact is being deployed, please wait...
    17-Oct-2019 21:15:30.656 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
    ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
    ERROR Dispatcher Dispatcher initialization failed
     java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:289)
    	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
    	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:231)
    	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
    	at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:106)
    	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:584)
    	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:581)
    	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:560)
    	at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:581)
    	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:287)
    	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162)
    	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
    	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
    	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
    	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
    	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
    	at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
    	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
    	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
    	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102)
    	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4533)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
    	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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:457)
    	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:406)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
    	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
    	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
    [2019-10-17 09:15:31,022] Artifact test1:war exploded: Error during artifact deployment. See server log for details.
    	at sun.rmi.transport.Transport$1.run(Transport.java:200)
    	at sun.rmi.transport.Transport$1.run(Transport.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:287)
    	... 66 more
    Caused by: java.lang.ExceptionInInitializerError
    	at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:88)
    	... 71 more
    Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency!
    	at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:169)
    	... 72 more
    Caused by: java.lang.ClassNotFoundException: javassist.ClassPool
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:264)
    	at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:166)
    	... 72 more
    17-Oct-2019 21:15:30.977 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
    17-Oct-2019 21:15:30.977 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/test1_war_exploded] startup failed due to previous errors
    
    

    总结一下就是Error during artifact deployment和Artifact is being deployed, please wait…

    原因缺少一些jar包

    在这里插入图片描述
    这里给大家放到网盘上自行下载
    https://pan.baidu.com/s/1NUjzaeANtU2rGcbA-LSWBA&shfl=sharepset
    密码:gvst

    参考大神:https://www.jianshu.com/p/e732602e038a

  • 相关阅读:
    sharepoint无法到搜索人员
    sharepoint 自定义操作 CustomAction
    sharepoint 自定列表总结
    向数据表中插入字符序号,例如"001""002"
    通过sharepoint 客户脚本,验证列表添加页面上的时间
    WebService入门(1)
    Java虚拟机1:什么是Java
    SFTP服务搭建
    Shell学习——特殊变量
    js知识点~扁平数据结构转Tree
  • 原文地址:https://www.cnblogs.com/jiangyanblog/p/11695209.html
Copyright © 2020-2023  润新知