tomcat8.5能运行7.0的项目吗 3C

tomcat8.5+jdk1.8能运行7.0+jdk1.6的项目吗?怎么运行

4个回答

项目不分版本 你在使用低版本环境时候建的项目当然可以在高版本环境中运行了

如果是JDK换成1.8的那就确保你环境变量PATH CLASSPATH都换成1.8的了

Tomcat可以在开发软件比如eclipse里面添加 添加Servers 百度一下教程

项目不分版本,开发环境和版本有一定的联系。我之前遇到过,tomcat8不能部署jdk1.6环境的项目,后来改用tomcat7了

自己尝试哈就知道,如果不行就考虑恢复噻。

可以用的,我现在在跑的项目就是tomcat8+openjdk7

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
IDEA+Tomcat8.5运行报错
直接用tomcat8.exe启动能访问到localhost:8080,但是用IDEA运行web项目就报错,试过重装IDEA,修改catalina.sh,都没有解决,web界面是这样的![图片说明](https://img-ask.csdn.net/upload/201907/25/1564023823_22826.png) idea的报错信息是这样的 D:\Java\Tomcat8.5\apache-tomcat-8.5.43\bin\catalina.bat run Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Tomcat_8_5_431_My" Using CATALINA_HOME: "D:\Java\Tomcat8.5\apache-tomcat-8.5.43" Using CATALINA_TMPDIR: "D:\Java\Tomcat8.5\apache-tomcat-8.5.43\temp" Using JRE_HOME: "D:\Java_jdk" Using CLASSPATH: "D:\Java\Tomcat8.5\apache-tomcat-8.5.43\bin\bootstrap.jar;D:\Java\Tomcat8.5\apache-tomcat-8.5.43\bin\tomcat-juli.jar" 25-Jul-2019 11:01:38.026 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.43 25-Jul-2019 11:01:38.029 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jul 4 2019 20:53:15 UTC 25-Jul-2019 11:01:38.029 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.43.0 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 8.1 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: D:\Java_jdk\jre 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.7.0_80-b15 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Tomcat_8_5_431_My 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Java\Tomcat8.5\apache-tomcat-8.5.43 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Tomcat_8_5_431_My\conf\logging.properties 25-Jul-2019 11:01:38.030 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 25-Jul-2019 11:01:38.031 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 25-Jul-2019 11:01:38.031 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 25-Jul-2019 11:01:38.031 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 25-Jul-2019 11:01:38.031 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 25-Jul-2019 11:01:38.031 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 25-Jul-2019 11:01:38.032 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 25-Jul-2019 11:01:38.032 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 25-Jul-2019 11:01:38.032 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 25-Jul-2019 11:01:38.032 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Tomcat_8_5_431_My 25-Jul-2019 11:01:38.032 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Java\Tomcat8.5\apache-tomcat-8.5.43 25-Jul-2019 11:01:38.033 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Java\Tomcat8.5\apache-tomcat-8.5.43\temp 25-Jul-2019 11:01:38.033 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 25-Jul-2019 11:01:38.033 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 25-Jul-2019 11:01:38.033 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 25-Jul-2019 11:01:38.038 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 25-Jul-2019 11:01:38.137 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 25-Jul-2019 11:01:38.151 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 25-Jul-2019 11:01:38.176 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 25-Jul-2019 11:01:38.178 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 25-Jul-2019 11:01:38.178 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 507 ms 25-Jul-2019 11:01:38.214 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 25-Jul-2019 11:01:38.214 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.43 25-Jul-2019 11:01:38.222 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 25-Jul-2019 11:01:38.232 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 25-Jul-2019 11:01:38.235 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 56 ms Connected to server 25-Jul-2019 11:01:48.223 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Java\Tomcat8.5\apache-tomcat-8.5.43\webapps\manager] 25-Jul-2019 11:01:48.507 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Java\Tomcat8.5\apache-tomcat-8.5.43\webapps\manager] has finished in [284] ms 希望有相同错误的老哥看到后能指点一下,这里卡了好久了,万分感激
Tomcat8.0不能访问网络驱动器
1、我原来用的服务器是tomcat7.0“解压版”的,项目可以正常运行,能从发布在服务器的项目根目录下下载文件 2、后来我把项目的.war包放到tomcat8.0“安装版”上,项目其他的都可以正常运行,但是不能下载文件,报错500,提示空指针 3、亲测tomcat7.0“安装版”可以正常运行下载文件 4、项目使用jdk1.6,Dynamic Web Module版本2.5 求大神们救命,本人做android的,不太熟悉web,跪谢!
tomcat7.0运行报错:No rules found 'Server/Service/...
tomcat7.0下运行工程报错:No rules found matching 'Server/Service/Engine/Host/Resource' 我的web工程中有个配置: 在contextConfigLocation中配置加载app-context.xml 然后在app-context.xml文件中有个配置: < jee:jndi-lookup id="mDS" jndi-name="java:comp/env/jdbc/MDS" /> 然后我在ecplice的service标签下配置tomcat后,修改tomcat的context.xml文件,在< Context中添加了一个Resource配置如下: < Resource driverClassName="org.gjt.mm.mysql.Driver" maxActive="8" maxIdle="4" name="jdbc/MDS" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/mdb?characterEncoding=UTF-8" username="root" password="root" /> 其余就没有配置了,然后再启动tomcat的时候就报了如下的错误: 2014-12-5 21:40:23 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_43\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/bin/server;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.6.0_43\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\software\apache-maven-3.2.1\bin;D:\tools\SVN\bin;D:\tools\MYSQL\MySQL Utilities 1.4.4\;D:\tools\MYSQL\MySQL Utilities 1.4.4\Doctrine extensions for PHP\;.;;D:\eclipse;;.;;. 2014-12-5 21:40:23 org.apache.tomcat.util.digester.Digester endElement 警告: No rules found matching 'Server/Service/Engine/Host/Resource'. 2014-12-5 21:40:23 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:m' did not find a matching property. 按照网上的各种方法试了都不行,请为下各位大神是什么原因,我用的tomcat7.0,jdk是jdk1.6.0_43,ecplise版本是Kepler Service Release 2,实在是黔驴技穷了,求帮助~~
web应用放到tomcat8.5里能正常启用,但一运行就报找不到方法的错误?
maven 工程的web应用,放到低版本的Tomcat上(tomcat7)运行没问题。但后来将Tomcat升级为tomcat8.5后,能正常启动,但一有前台发送过来的请求,就报如下的错误: ![图片说明](https://img-ask.csdn.net/upload/201812/05/1544014285_428473.png) 网上找了很久,将pom文件中的servlet版本换成了4.0.1,并且exclude了如下与servlet相关的jar了: ``` <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>servlet-api</artifactId> </exclusion> ``` ``` <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_2.5_spec</artifactId> </exclusion> ``` 但问题并没有解决,请问怎样才能彻底解决这个问题,谢谢!
myeclipse tomcat7.0无法启动,报错
之前导入过ssh项目,运行后报错,然后把ssh项目删掉了,原本存在的一个项目中没有ssh框架,现在启动tomcat就开始报错了,在出错时去网页上试过不能打开网页。 配置的tomcat7.0,jdk1.7,myeclipse10 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.SetAllPropertiesRule begin 警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'URLEncoding' to 'utf-8' did not find a matching property. 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.70 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Jun 15 2016 16:27:45 UTC 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.70.0 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:\Program Files\Java\jdk1.7.0_79\jre 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.7.0_79-b15 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: D:\apache-tomcat-7.0.70 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: D:\apache-tomcat-7.0.70 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:54505 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=D:\apache-tomcat-7.0.70 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=D:\apache-tomcat-7.0.70 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=D:\apache-tomcat-7.0.70/common/endorsed 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=D:\apache-tomcat-7.0.70\temp 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.library.path=C:\Program Files\Java\jdk1.7.0_79\bin;D:\apache-tomcat-7.0.70\bin 三月 16, 2017 4:20:07 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dsun.io.useCanonCaches=false 三月 16, 2017 4:20:07 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: Loaded APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.2. 三月 16, 2017 4:20:07 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 三月 16, 2017 4:20:08 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016) 三月 16, 2017 4:20:08 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8080"] 三月 16, 2017 4:20:08 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 三月 16, 2017 4:20:08 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2141 ms 三月 16, 2017 4:20:08 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 三月 16, 2017 4:20:08 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.70 三月 16, 2017 4:20:08 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\apache-tomcat-7.0.70\webapps\coding 三月 16, 2017 4:20:10 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 三月 16, 2017 4:20:10 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext [org.springframework.web.context.ContextLoader]Root WebApplicationContext: initialization started [org.springframework.web.context.support.XmlWebApplicationContext]Refreshing Root WebApplicationContext: startup date [Thu Mar 16 16:20:11 CST 2017]; root of context hierarchy [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring.xml] [org.springframework.context.annotation.ClassPathBeanDefinitionScanner]JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-hibernate.xml] [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [config.properties] [org.springframework.beans.factory.support.DefaultListableBeanFactory]Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6be0e7a9: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,baseDao,demoAuthService,demoBugService,demoLogUserService,demoMenuService,demoOnlineService,demoRepairService,demoRoleService,demoUserService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dataSource,sessionFactory,transactionManager,transactionAdvice,org.springframework.aop.config.internalAutoProxyCreator,transactionPointcut,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,druid-stat-interceptor,druid-stat-pointcut,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy [com.alibaba.druid.pool.DruidAbstractDataSource]maxIdle is deprecated [com.alibaba.druid.pool.DruidDataSource]{dataSource-1} inited [org.hibernate.annotations.common.Version]HCANN000001: Hibernate Commons Annotations {4.0.1.Final} [org.hibernate.Version]HHH000412: Hibernate Core {4.1.7.Final} [org.hibernate.cfg.Environment]HHH000206: hibernate.properties not found [org.hibernate.cfg.Environment]HHH000021: Bytecode provider name : javassist [com.alibaba.druid.pool.DruidDataSource]create connection error com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:350) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2393) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2430) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2215) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334) at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142) at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211) at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:136) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1207) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1261) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1197) Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:241) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300) ... 18 more
IDEA创建maven的web项目,配置tomcat后可以发布,但浏览器报错404
**问题描述**:刚开始学习maven,在idea中使用模板创建了web maven项目后,可以使用maven自带的maven tomcat运行,并且浏览器正常 。但是使用网站下载下来的Tomcat配置在项目中后,虽然可以运行,但浏览器直接显示 404错误。 **下载的Tomcat运行后的信息**: G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\catalina.bat run [2020-02-17 12:39:19,204] Artifact ren:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5" Using CATALINA_HOME: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51" Using CATALINA_TMPDIR: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_181" Using CLASSPATH: "G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\bootstrap.jar;G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\bin\tomcat-juli.jar" 17-Feb-2020 12:39:20.431 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/8.5.51 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Feb 5 2020 22:26:25 UTC 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号(:8.5.51.0 17-Feb-2020 12:39:20.436 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_181\jre 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本: 1.8.0_181-b13 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 17-Feb-2020 12:39:20.437 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5 17-Feb-2020 12:39:20.438 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51 17-Feb-2020 12:39:20.438 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5\conf\logging.properties 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 17-Feb-2020 12:39:20.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 17-Feb-2020 12:39:20.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Ren Yongchuang\.IntelliJIdea2018.1\system\tomcat\Unnamed_ren_5 17-Feb-2020 12:39:20.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\temp 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 17-Feb-2020 12:39:20.442 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true] 17-Feb-2020 12:39:20.449 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 17-Feb-2020 12:39:20.614 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"] 17-Feb-2020 12:39:20.632 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 17-Feb-2020 12:39:20.658 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 647 ms 17-Feb-2020 12:39:20.702 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 17-Feb-2020 12:39:20.702 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.51 17-Feb-2020 12:39:20.715 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 17-Feb-2020 12:39:20.727 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 68 ms Connected to server [2020-02-17 12:39:20,850] Artifact ren:war exploded: Artifact is being deployed, please wait... [2020-02-17 12:39:21,376] Artifact ren:war exploded: Artifact is deployed successfully [2020-02-17 12:39:21,376] Artifact ren:war exploded: Deploy took 526 milliseconds 17-Feb-2020 12:39:30.722 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\webapps\manager] 17-Feb-2020 12:39:30.809 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [G:\Web\Tomcat\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\webapps\manager] has finished in [86] ms **配置页面** ![图片说明](https://img-ask.csdn.net/upload/202002/17/1581915221_525072.png) **运行后的结果** ![图片说明](https://img-ask.csdn.net/upload/202002/17/1581914498_959743.png)
在配置struts2运行时遇到了错误(tomcat6.0+myeclipse8.5),寻达人
[code="java"][/code]2010-6-22 2:18:12 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Users\lixyu\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;E:\Program Files\Apache Software Foundation\Tomcat 6.0\bin 2010-6-22 2:18:12 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2010-6-22 2:18:12 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 700 ms 2010-6-22 2:18:12 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2010-6-22 2:18:12 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.20 2010-6-22 2:18:14 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-default.xml] 2010-6-22 2:18:15 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Unable to locate configuration files of the name struts-plugin.xml, skipping 2010-6-22 2:18:15 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-plugin.xml] 2010-6-22 2:18:15 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts.xml] 2010-6-22 2:18:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error 严重: Dispatcher initialization failed Unable to load configuration. - action - file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts2Test/WEB-INF/classes/struts.xml:7:61 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: Action class [com.struts2.test.LoginAction] not found - action - file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts2Test/WEB-INF/classes/struts.xml:7:61 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:409) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:354) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264) at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) ... 30 more 2010-6-22 2:18:16 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 Unable to load configuration. - action - file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts2Test/WEB-INF/classes/struts.xml:7:61 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: Unable to load configuration. - action - file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts2Test/WEB-INF/classes/struts.xml:7:61 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) ... 28 more Caused by: Action class [com.struts2.test.LoginAction] not found - action - file:/E:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/struts2Test/WEB-INF/classes/struts.xml:7:61 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:409) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:354) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264) at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) ... 30 more 2010-6-22 2:18:16 org.apache.catalina.core.StandardContext start 严重: Error filterStart 2010-6-22 2:18:16 org.apache.catalina.core.StandardContext start 严重: Context [/struts2Test] startup failed due to previous errors 2010-6-22 2:18:17 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2010-6-22 2:18:17 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2010-6-22 2:18:17 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/50 config=null 2010-6-22 2:18:17 org.apache.catalina.startup.Catalina start 信息: Server startup in 4398 ms
spring4.0+mybatis3.3+tomcat8.0整合出的NoClassDefFoundError一个问题
具体工程见如下地址: https://yunpan.cn/cr5AZCTwuI7pp 访问密码 e565 代码是我学习的demo,第一次做spring+mybatis的开发。 本来所有代码放在一个工程(参见附件的springMVC03_single.rar)运行都是ok的。 但是我把dao和pojo两块代码单独出一个工程后(参见附件的springMVC03_mutiproj.rar),加载就出现问题了。 加载的错误是: ![图片说明](https://img-ask.csdn.net/upload/201601/29/1454075373_508953.png) 错误调用栈信息如下: ![图片说明](https://img-ask.csdn.net/upload/201601/29/1454075359_525757.png) 初步怀疑和tomcat的webapp类加载器有关,具体tomcat的加载器原理到底是怎么样,为何会引起这个问题以及如何规避这个问题请各位大侠赐教
java SSH项目,运行一段时间后报错,重启tomcat也报错,重启服务器后恢复正常,附上报错信息,求高手解答
## # 运行时报错信息: HTTP Status 500 – Internal Server Error Type 异常报告 消息 Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection 描述 服务器遇到一个意外的情况,阻止它完成请求。 Exception org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:943) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:822) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:149) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) Root Cause org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:517) org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420) org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646) rmyh.attendance.dao.LoginDao$$EnhancerByCGLIB$$7b46259f.checkLogin(<generated>) rmyh.attendance.service.LoginService.checkLogin(LoginService.java:89) rmyh.attendance.service.LoginService.login(LoginService.java:54) rmyh.attendance.controller.LoginController.login(LoginController.java:36) sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:822) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:149) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) Root Cause org.hibernate.exception.GenericJDBCException: Could not open connection org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54) org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:221) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157) org.hibernate.internal.SessionImpl.connection(SessionImpl.java:550) org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:431) org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420) org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646) rmyh.attendance.dao.LoginDao$$EnhancerByCGLIB$$7b46259f.checkLogin(<generated>) rmyh.attendance.service.LoginService.checkLogin(LoginService.java:89) rmyh.attendance.service.LoginService.login(LoginService.java:54) rmyh.attendance.controller.LoginController.login(LoginController.java:36) sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:822) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:149) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) Root Cause java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118) com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:77) com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:74) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:691) com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140) org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141) org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:292) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:214) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157) org.hibernate.internal.SessionImpl.connection(SessionImpl.java:550) org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:431) org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420) org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646) rmyh.attendance.dao.LoginDao$$EnhancerByCGLIB$$7b46259f.checkLogin(<generated>) rmyh.attendance.service.LoginService.checkLogin(LoginService.java:89) rmyh.attendance.service.LoginService.login(LoginService.java:54) rmyh.attendance.controller.LoginController.login(LoginController.java:36) sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:822) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:149) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) Root Cause com.mchange.v2.resourcepool.ResourcePoolException: Attempted to use a closed or broken resource pool com.mchange.v2.resourcepool.BasicResourcePool.ensureNotBroken(BasicResourcePool.java:1735) com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:573) com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:526) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:755) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:682) com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140) org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141) org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:292) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:214) org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157) org.hibernate.internal.SessionImpl.connection(SessionImpl.java:550) org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:431) org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420) org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257) org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646) rmyh.attendance.dao.LoginDao$$EnhancerByCGLIB$$7b46259f.checkLogin(<generated>) rmyh.attendance.service.LoginService.checkLogin(LoginService.java:89) rmyh.attendance.service.LoginService.login(LoginService.java:54) rmyh.attendance.controller.LoginController.login(LoginController.java:36) sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:822) javax.servlet.http.HttpServlet.service(HttpServlet.java:634) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:149) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) ## 重启tomcat报错信息: 严重: 初始化组件[Connector[HTTP/1.1-8080]]失败。 org.apache.catalina.LifecycleException: Protocol handler initialization failed at org.apache.catalina.connector.Connector.initInternal(Connector.java:983) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:533) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1059) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.startup.Catalina.load(Catalina.java:584) at org.apache.catalina.startup.Catalina.load(Catalina.java:607) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:304) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(Unknown Source) at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source) at java.nio.channels.Pipe.open(Unknown Source) at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source) at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source) at java.nio.channels.Selector.open(Unknown Source) at org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector(NioSelectorPool.java:52) at org.apache.tomcat.util.net.NioSelectorPool.close(NioSelectorPool.java:119) at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:367) at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1124) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1132) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:557) at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74) at org.apache.catalina.connector.Connector.initInternal(Connector.java:980) ... 13 more Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source) ... 30 more 二月 20, 2020 3:38:12 下午 org.apache.coyote.AbstractProtocol init 信息: 初始化协议处理器 ["ajp-nio-8009"] 二月 20, 2020 3:38:12 下午 org.apache.catalina.util.LifecycleBase handleSubClassException 严重: 初始化组件[Connector[AJP/1.3-8009]]失败。 org.apache.catalina.LifecycleException: Protocol handler initialization failed at org.apache.catalina.connector.Connector.initInternal(Connector.java:983) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:533) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1059) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136) at org.apache.catalina.startup.Catalina.load(Catalina.java:584) at org.apache.catalina.startup.Catalina.load(Catalina.java:607) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:304) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(Unknown Source) at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source) at java.nio.channels.Pipe.open(Unknown Source) at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source) at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source) at java.nio.channels.Selector.open(Unknown Source) at org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector(NioSelectorPool.java:52) at org.apache.tomcat.util.net.NioSelectorPool.close(NioSelectorPool.java:119) at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:367) at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1124) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1132) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:557) at org.apache.catalina.connector.Connector.initInternal(Connector.java:980) ... 13 more Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source) ... 29 more 二月 20, 2020 3:38:12 下午 org.apache.catalina.startup.Catalina load 信息: 服务器在[472]毫秒内初始化 二月 20, 2020 3:38:12 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service [Catalina] 二月 20, 2020 3:38:12 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet engine: [Apache Tomcat/9.0.20] 二月 20, 2020 3:38:14 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 二月 20, 2020 3:38:15 下午 org.apache.jasper.servlet.TldScanner scanJars 信息: 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 二月 20, 2020 3:38:15 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext ## hibernate配置信息: ``` <hibernate-configuration> <session-factory> <property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property> <property name="hibernate.show_sql">true</property> <property name="hibernate.format_sql">true</property> <property name="hibernate.hbm2ddl.auto">update</property> <property name="connection.characterEncoding">UTF-8</property> <property name="hibernate.autoReconnect">true</property> </session-factory> </hibernate-configuration> ``` ## c3p0配置信息: ``` <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> <property name="user" value="${jdbc.user}"></property> <property name="password" value="${jdbc.password}"></property> <property name="driverClass" value="com.mysql.cj.jdbc.Driver"></property> <property name="jdbcUrl" value="jdbc:mysql://127.0.0.1/attendance?useUnicode=true&serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf8&useOldAliasMetadataBehavior=true&autoReconnect=true"></property> <property name="initialPoolSize" value="10"></property> <property name="minPoolSize" value="10" /> <property name="maxPoolSize" value="512"></property> <property name="idleConnectionTestPeriod" value="2800"></property> <property name="maxIdleTime" value="180"></property> <property name="maxStatements" value="1000" /> <property name="acquireIncrement" value="5" /> <property name="acquireRetryAttempts" value="30"></property> <property name="breakAfterAcquireFailure" value="true"></property> <property name="testConnectionOnCheckout" value="false"></property> </bean> ```
小白tomcat运行项目时404报错,求大神解答,运行过程如下
``` E:\apache-tomcat-8.5.45\bin\catalina.bat run [2019-12-30 11:55:42,272] Artifact library:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library" Using CATALINA_HOME: "E:\apache-tomcat-8.5.45" Using CATALINA_TMPDIR: "E:\apache-tomcat-8.5.45\temp" Using JRE_HOME: "C:\Program Files\Java\jdk-12.0.2" Using CLASSPATH: "E:\apache-tomcat-8.5.45\bin\bootstrap.jar;E:\apache-tomcat-8.5.45\bin\tomcat-juli.jar" 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 30-Dec-2019 23:55:44.413 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.45 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 14 2019 22:21:25 UTC 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.45.0 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk-12.0.2 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 12.0.2+10 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: E:\apache-tomcat-8.5.45 30-Dec-2019 23:55:44.419 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED 30-Dec-2019 23:55:44.420 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED 30-Dec-2019 23:55:44.421 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\conf\logging.properties 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\jmxremote.password 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\jmxremote.access 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\apache-tomcat-8.5.45 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\apache-tomcat-8.5.45\temp 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 30-Dec-2019 23:55:44.434 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 30-Dec-2019 23:55:44.513 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 30-Dec-2019 23:55:44.566 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Dec-2019 23:55:44.598 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 30-Dec-2019 23:55:44.616 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Dec-2019 23:55:44.617 淇℃伅 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 668 ms 30-Dec-2019 23:55:44.724 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 30-Dec-2019 23:55:44.724 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.45 30-Dec-2019 23:55:44.744 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 30-Dec-2019 23:55:44.773 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 30-Dec-2019 23:55:44.800 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in 182 ms Connected to server [2019-12-30 11:55:45,097] Artifact library:war exploded: Artifact is being deployed, please wait... 30-Dec-2019 23:55:45.511 璀﹀憡 [RMI TCP Connection(5)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used. 30-Dec-2019 23:55:47.851 淇℃伅 [RMI TCP Connection(5)-127.0.0.1] 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. 30-Dec-2019 23:55:48.702 璀﹀憡 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [751] milliseconds. [2019-12-30 11:55:48,747] Artifact library:war exploded: Artifact is deployed successfully [2019-12-30 11:55:48,747] Artifact library:war exploded: Deploy took 3,650 milliseconds 30-Dec-2019 23:55:54.748 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [E:\apache-tomcat-8.5.45\webapps\manager] 30-Dec-2019 23:55:54.837 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\apache-tomcat-8.5.45\webapps\manager] has finished in [88] ms ```
thymeleaf官方文档14.1节中的一个问题
**14.1节中<td th:text="${#aggregates.sum(o.orderLines.{purchasePrice * amount})}">23.32</td>运行时报异常:** 2017-12-05 13:09:53.438 ERROR 8392 --- [nio-8080-exec-7] org.thymeleaf.TemplateEngine : [THYMELEAF][http-nio-8080-exec-7] Exception processing template "order/list": An error happened during template parsing (template: "class path resource [templates/order/list.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/order/list.html]") at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) ~[thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) [thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) [thymeleaf-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.spring4.view.ThymeleafView.renderFragment(ThymeleafView.java:352) [thymeleaf-spring4-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.thymeleaf.spring4.view.ThymeleafView.render(ThymeleafView.java:190) [thymeleaf-spring4-3.0.9.RELEASE.jar:3.0.9.RELEASE] at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1286) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1041) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:984) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) [spring-webmvc-4.3.13.RELEASE.jar:4.3.13.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-embed-core-8.5.23.jar:8.5.23] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.23.jar:8.5.23] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.23.jar:8.5.23] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131] Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "o.orderLines.{purchasePrice * amount}" (template: "order/list" - line 22, col 13) 2017-12-05 13:09:53.444 ERROR 8392 --- [nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/order/list.html]")] with root cause org.springframework.expression.spel.SpelParseException: Expression [o.orderLines.{purchasePrice * amount}] @12: EL1049E: Unexpected data after '.': 'lcurly({)' at org.springframework.expression.spel.standard.InternalSpelExpressionParser.raiseInternalException(InternalSpelExpressionParser.java:1005) ~[spring-expression-4.3.13.RELEASE.jar:4.3.13.RELEASE]
项目迁移升级到jdk1.8,tomcat8下可以运行,weblogic12c下报错?
原项目开发环境jdk1.6,tomcat6,在weblogic10下可正常运行 后升级jdk1.8及tomcat8下可运行,在weblogic12c下运行报错,修改weblogic.xml增加如下 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD WebApplication 8.1//EN""http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> prefer-web-inf-classes为true依旧报错 报错信息如下 ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162600> <Creating ManagedThreadFactory "DefaultManagedThreadFactory" (partition="DOMAIN", module="null", application="defaultCoherenceCluster")> ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162610> <Creating ManagedExecutorService "DefaultManagedExecutorService" (partition="DOMAIN", module="null", application="defaultCoherenceCluster", workmanager="default")> ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162611> <Creating ManagedScheduledExecutorService "DefaultManagedScheduledExecutorService" (partition="DOMAIN", module="null", application="defaultCoherenceCluster", workmanager="default")> ####<2019-8-12 上午10时36分16,456秒 CST> <Info> <WebLogicServer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376456> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000256> <Invoking weblogic.transaction.internal.StartupClass.main(null)> ####<2019-8-12 上午10时36分16,645秒 CST> <Info> <Deployer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376645> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149059> <Module lmszs of application lmszs is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.> ####<2019-8-12 上午10时36分16,722秒 CST> <Info> <Deployer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376722> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149060> <Module lmszs of application lmszs successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.> ####<2019-8-12 上午10时36分20,832秒 CST> <Info> <ServletContext-/PosService> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577380832> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Set web app root system property: 'lms.root' = [C:\lmszs\]> ####<2019-8-12 上午10时36分20,847秒 CST> <Info> <ServletContext-/PosService> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577380847> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Initializing Spring root WebApplicationContext> ####<2019-8-12 上午10时36分22,956秒 CST> <Warning> <HTTP> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577382956> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:\lmszs\WEB-INF\classes\spring\applicationContext-datasource.xml]; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/springframework/beans/factory/xml/DefaultDocumentLoader, and the class loader (instance of <bootloader>) for the method's defining class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:\lmszs\WEB-INF\classes\spring\applicationContext-datasource.xml]; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/springframework/beans/factory/xml/DefaultDocumentLoader, and the class loader (instance of <bootloader>) for the method's defining class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:510) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326) at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:204) 请weblogic大神指点迷津,困扰好久了
No provider available from registry ip for service com.zys.store.service.api.HelloServiceApi:1.0.0 on consumer ip use dubbo version 2.6.2
springboot整合zookeeper和dubbo报错 linux上zk版本号是3.4.14 项目用的zk包是3.4.9 dubbo用的是2.6.2 springboot是2.1.6 用main方式先运行store的模块 再运行order的模块 这个时候用浏览器去访问http://localhost:8088/hello?name=zys这个时候控制台就报错No provider available from registry 启动的时候不报错 浏览器访问就报错了 看zk日志有说是HelloServiceApi这个类的节点已经存在 但是我觉得跟这个问题不大 因为运行一次就会创建一个节点 多次的话肯定报节点存在的错 我的linux是虚拟机 并且已经关闭了防火墙 不存在端口跑不通的情况 1. 项目架构是maven的聚合项目![图片说明](https://img-ask.csdn.net/upload/201911/20/1574220333_973372.png) 2. 在zys-store-api写接口 package com.zys.store.service.api; public interface HelloServiceApi { String sayHello(String name); } 3.在zys-store暴露接口 package com.zys.store.service.provider; import com.alibaba.dubbo.config.annotation.Service; import com.zys.store.service.api.HelloServiceApi; @Service( version = "1.0.0", application = "zys-store", protocol = "dubbo", registry = "zys-store-registry" ) public class HelloServiceProvider implements HelloServiceApi{ @Override public String sayHello(String name) { return "hello" + name; } } 下面是zys-store的yml的配置 dubbo: application: id: zys-store name: zys-store qos-port: 22212 qos-enable: true scan: base-packages: com.zys.store.* protocol: id: dubbo name: dubbo port: 12343 registry: id: zys-store-registry address: zookeeper://192.168.146.132:2181?backup=192.168.146.131:2181,192.168.146.133:2181 4.在zys-order调用接口 package com.zys.order.controller; import com.alibaba.dubbo.config.annotation.Reference; import com.zys.store.service.api.HelloServiceApi; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @RestController public class HelloController { @Reference( version = "1.0.0", application = "zys-order", interfaceName = "com.zys.store.service.api.HelloServiceApi", check = false, timeout = 3000, retries = 0 //读请求3次 写请求不重复 ) private HelloServiceApi helloServiceApi; @RequestMapping("/hello") public String hello(@RequestParam("name") String name){ return helloServiceApi.sayHello(name); } } 下面是zys-order的yml的配置 ```dubbo: application: id: zys-order name: zys-order qos-port: 22211 qos-enable: true qos-accept-foreign-ip: false scan: base-packages: com.zys.order.* protocol: id: dubbo name: dubbo port: 12343 registry: id: zys-order-registry address: zookeeper://192.168.146.132:2181?backup=192.168.146.131:2181,192.168.146.133:2181 store端的启动日志 2019-11-20 10:18:35.426 INFO 50632 --- [ main] a.b.d.c.e.WelcomeLogoApplicationListener : :: Dubbo Spring Boot (v0.2.0) : https://github.com/apache/incubator-dubbo-spring-boot-project :: Dubbo (v2.6.2) : https://github.com/apache/incubator-dubbo :: Google group : dev@dubbo.incubator.apache.org 2019-11-20 10:18:35.430 INFO 50632 --- [ main] e.OverrideDubboConfigApplicationListener : Dubbo Config was overridden by externalized configuration {dubbo.application.id=zys-store, dubbo.application.name=zys-store, dubbo.application.qos-enable=true, dubbo.application.qos-port=22212, dubbo.protocol.id=dubbo, dubbo.protocol.name=dubbo, dubbo.protocol.port=12343, dubbo.registry.address=zookeeper://192.168.146.132:2181?backup=192.168.146.131:2181,192.168.146.133:2181, dubbo.registry.id=zys-store-registry, dubbo.scan.base-packages=com.zys.store.*} . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.6.RELEASE) 2019-11-20 10:18:35.488 INFO 50632 --- [ main] com.zys.store.ZysStoreApplication : Starting ZysStoreApplication on DESKTOP-O0S84K8 with PID 50632 (D:\ideaworkspace\zys-project\zys-store\target\classes started by Administrator in D:\ideaworkspace\zys-project) 2019-11-20 10:18:35.489 INFO 50632 --- [ main] com.zys.store.ZysStoreApplication : No active profile set, falling back to default profiles: default 2019-11-20 10:18:35.963 WARN 50632 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zys.store.dao, com.zys.store.mapper]' package. Please check your configuration. 2019-11-20 10:18:36.030 WARN 50632 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-configs' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:36.031 WARN 50632 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-properties' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:36.031 WARN 50632 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-references' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:36.031 WARN 50632 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-services' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:36.031 WARN 50632 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-shutdown' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:36.037 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : zys-store, class : com.alibaba.dubbo.config.ApplicationConfig] has been registered. 2019-11-20 10:18:36.037 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : zys-store] has been registered. 2019-11-20 10:18:36.037 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : zys-store-registry, class : com.alibaba.dubbo.config.RegistryConfig] has been registered. 2019-11-20 10:18:36.037 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : zys-store-registry] has been registered. 2019-11-20 10:18:36.037 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : dubbo, class : com.alibaba.dubbo.config.ProtocolConfig] has been registered. 2019-11-20 10:18:36.038 INFO 50632 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : dubbo] has been registered. 2019-11-20 10:18:36.060 WARN 50632 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zys.store]' package. Please check your configuration. 2019-11-20 10:18:36.307 INFO 50632 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.boot.dubbo.autoconfigure.DubboAutoConfiguration' of type [com.alibaba.boot.dubbo.autoconfigure.DubboAutoConfiguration$$EnhancerBySpringCGLIB$$437665e0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:36.357 INFO 50632 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:36.364 INFO 50632 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3474c06e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:36.382 INFO 50632 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:36.383 INFO 50632 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:36.657 INFO 50632 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8089 (http) 2019-11-20 10:18:36.675 INFO 50632 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-11-20 10:18:36.675 INFO 50632 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.21] 2019-11-20 10:18:36.770 INFO 50632 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-11-20 10:18:36.770 INFO 50632 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1249 ms 2019-11-20 10:18:37.038 INFO 50632 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : dubbo] have been binding by prefix of configuration properties : dubbo.protocol 2019-11-20 10:18:37.568 INFO 50632 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2019-11-20 10:18:37.744 INFO 50632 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : zys-store] have been binding by prefix of configuration properties : dubbo.application 2019-11-20 10:18:37.747 INFO 50632 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : zys-store-registry] have been binding by prefix of configuration properties : dubbo.registry 2019-11-20 10:18:37.816 INFO 50632 --- [ main] com.zaxxer.hikari.HikariDataSource : MyHikariCP - Starting... 2019-11-20 10:18:37.993 INFO 50632 --- [ main] com.zaxxer.hikari.HikariDataSource : MyHikariCP - Start completed. order端的启动日志 ```2019-11-20 10:18:47.233 INFO 48096 --- [ main] a.b.d.c.e.WelcomeLogoApplicationListener : :: Dubbo Spring Boot (v0.2.0) : https://github.com/apache/incubator-dubbo-spring-boot-project :: Dubbo (v2.6.2) : https://github.com/apache/incubator-dubbo :: Google group : dev@dubbo.incubator.apache.org 2019-11-20 10:18:47.239 INFO 48096 --- [ main] e.OverrideDubboConfigApplicationListener : Dubbo Config was overridden by externalized configuration {dubbo.application.id=zys-order, dubbo.application.name=zys-order, dubbo.application.qos-accept-foreign-ip=false, dubbo.application.qos-enable=true, dubbo.application.qos-port=22211, dubbo.protocol.id=dubbo, dubbo.protocol.name=dubbo, dubbo.protocol.port=12343, dubbo.registry.address=zookeeper://192.168.146.132:2181?backup=192.168.146.131:2181,192.168.146.133:2181, dubbo.registry.id=zys-order-registry, dubbo.scan.base-packages=com.zys.order.*} . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.6.RELEASE) 2019-11-20 10:18:47.301 INFO 48096 --- [ main] com.zys.order.ZysOrderApplication : Starting ZysOrderApplication on DESKTOP-O0S84K8 with PID 48096 (D:\ideaworkspace\zys-project\zys-order\target\classes started by Administrator in D:\ideaworkspace\zys-project) 2019-11-20 10:18:47.302 INFO 48096 --- [ main] com.zys.order.ZysOrderApplication : No active profile set, falling back to default profiles: default 2019-11-20 10:18:47.803 WARN 48096 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zys.order.dao, com.zys.order.mapper]' package. Please check your configuration. 2019-11-20 10:18:47.868 WARN 48096 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-configs' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:47.869 WARN 48096 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-properties' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:47.870 WARN 48096 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-references' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:47.870 WARN 48096 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-services' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:47.870 WARN 48096 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dubbo-shutdown' contains invalid characters, please migrate to a valid format. 2019-11-20 10:18:47.875 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : zys-order, class : com.alibaba.dubbo.config.ApplicationConfig] has been registered. 2019-11-20 10:18:47.875 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : zys-order] has been registered. 2019-11-20 10:18:47.875 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : zys-order-registry, class : com.alibaba.dubbo.config.RegistryConfig] has been registered. 2019-11-20 10:18:47.875 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : zys-order-registry] has been registered. 2019-11-20 10:18:47.876 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition [name : dubbo, class : com.alibaba.dubbo.config.ProtocolConfig] has been registered. 2019-11-20 10:18:47.876 INFO 48096 --- [ main] .a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean definition [com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor] for dubbo config bean [name : dubbo] has been registered. 2019-11-20 10:18:47.894 WARN 48096 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zys.order]' package. Please check your configuration. 2019-11-20 10:18:48.164 INFO 48096 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.boot.dubbo.autoconfigure.DubboAutoConfiguration' of type [com.alibaba.boot.dubbo.autoconfigure.DubboAutoConfiguration$$EnhancerBySpringCGLIB$$5fbcce96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:48.239 INFO 48096 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$50bb2924] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:48.261 INFO 48096 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:48.263 INFO 48096 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:48.264 INFO 48096 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'relaxedDubboConfigBinder' of type [com.alibaba.boot.dubbo.autoconfigure.RelaxedDubboConfigBinder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-20 10:18:48.482 INFO 48096 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8088 (http) 2019-11-20 10:18:48.496 INFO 48096 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-11-20 10:18:48.496 INFO 48096 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.21] 2019-11-20 10:18:48.596 INFO 48096 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-11-20 10:18:48.596 INFO 48096 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1268 ms 2019-11-20 10:18:48.847 INFO 48096 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : dubbo] have been binding by prefix of configuration properties : dubbo.protocol 2019-11-20 10:18:49.338 INFO 48096 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : zys-order] have been binding by prefix of configuration properties : dubbo.application 2019-11-20 10:18:49.345 INFO 48096 --- [ main] .f.a.DubboConfigBindingBeanPostProcessor : The properties of bean [name : zys-order-registry] have been binding by prefix of configuration properties : dubbo.registry 2019-11-20 10:18:49.919 INFO 48096 --- [ main] o.a.c.f.imps.CuratorFrameworkImpl : Starting 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.4.9-1757313, built on 08/23/2016 06:50 GMT 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:host.name=DESKTOP-O0S84K8 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.version=1.8.0_211 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.home=C:\Program Files\Java\jdk1.8.0_211\jre 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=C:\Program Files\Java\jdk1.8.0_211\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_211\jre\lib\rt.jar;D:\ideaworkspace\zys-project\zys-order\target\classes;D:\repository\org\springframework\boot\spring-boot-starter-web\2.1.6.RELEASE\spring-boot-starter-web-2.1.6.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-starter-json\2.1.6.RELEASE\spring-boot-starter-json-2.1.6.RELEASE.jar;D:\repository\com\fasterxml\jackson\core\jackson-databind\2.9.9\jackson-databind-2.9.9.jar;D:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.9\jackson-datatype-jdk8-2.9.9.jar;D:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.9\jackson-datatype-jsr310-2.9.9.jar;D:\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.9\jackson-module-parameter-names-2.9.9.jar;D:\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.6.RELEASE\spring-boot-starter-tomcat-2.1.6.RELEASE.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.21\tomcat-embed-core-9.0.21.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.21\tomcat-embed-el-9.0.21.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.21\tomcat-embed-websocket-9.0.21.jar;D:\repository\org\hibernate\validator\hibernate-validator\6.0.17.Final\hibernate-validator-6.0.17.Final.jar;D:\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;D:\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;D:\repository\org\springframework\spring-web\5.1.8.RELEASE\spring-web-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-beans\5.1.8.RELEASE\spring-beans-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-webmvc\5.1.8.RELEASE\spring-webmvc-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-aop\5.1.8.RELEASE\spring-aop-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-context\5.1.8.RELEASE\spring-context-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-expression\5.1.8.RELEASE\spring-expression-5.1.8.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-starter-actuator\2.1.6.RELEASE\spring-boot-starter-actuator-2.1.6.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.6.RELEASE\spring-boot-actuator-autoconfigure-2.1.6.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-actuator\2.1.6.RELEASE\spring-boot-actuator-2.1.6.RELEASE.jar;D:\repository\io\micrometer\micrometer-core\1.1.5\micrometer-core-1.1.5.jar;D:\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\repository\org\springframework\spring-core\5.1.8.RELEASE\spring-core-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-jcl\5.1.8.RELEASE\spring-jcl-5.1.8.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-starter-jdbc\2.1.6.RELEASE\spring-boot-starter-jdbc-2.1.6.RELEASE.jar;D:\repository\com\zaxxer\HikariCP\3.2.0\HikariCP-3.2.0.jar;D:\repository\org\springframework\spring-jdbc\5.1.8.RELEASE\spring-jdbc-5.1.8.RELEASE.jar;D:\repository\org\springframework\spring-tx\5.1.8.RELEASE\spring-tx-5.1.8.RELEASE.jar;D:\repository\com\baomidou\mybatis-plus-boot-starter\3.1.1\mybatis-plus-boot-starter-3.1.1.jar;D:\repository\com\baomidou\mybatis-plus\3.1.1\mybatis-plus-3.1.1.jar;D:\repository\com\baomidou\mybatis-plus-extension\3.1.1\mybatis-plus-extension-3.1.1.jar;D:\repository\com\baomidou\mybatis-plus-core\3.1.1\mybatis-plus-core-3.1.1.jar;D:\repository\com\baomidou\mybatis-plus-annotation\3.1.1\mybatis-plus-annotation-3.1.1.jar;D:\repository\com\github\jsqlparser\jsqlparser\1.2\jsqlparser-1.2.jar;D:\repository\org\mybatis\mybatis\3.5.1\mybatis-3.5.1.jar;D:\repository\org\mybatis\mybatis-spring\2.0.1\mybatis-spring-2.0.1.jar;D:\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.6.RELEASE\spring-boot-autoconfigure-2.1.6.RELEASE.jar;D:\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\repository\mysql\mysql-connector-java\6.0.6\mysql-connector-java-6.0.6.jar;D:\repository\com\alibaba\boot\dubbo-spring-boot-starter\0.2.0\dubbo-spring-boot-starter-0.2.0.jar;D:\repository\com\alibaba\dubbo\2.6.2\dubbo-2.6.2.jar;D:\repository\org\javassist\javassist\3.20.0-GA\javassist-3.20.0-GA.jar;D:\repository\org\jboss\netty\netty\3.2.5.Final\netty-3.2.5.Final.jar;D:\repository\org\apache\zookeeper\zookeeper\3.4.9\zookeeper-3.4.9.jar;D:\repository\jline\jline\0.9.94\jline-0.9.94.jar;D:\repository\io\netty\netty\3.10.5.Final\netty-3.10.5.Final.jar;D:\repository\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;D:\repository\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;D:\repository\com\alibaba\boot\dubbo-spring-boot-autoconfigure\0.2.0\dubbo-spring-boot-autoconfigure-0.2.0.jar;D:\repository\com\alibaba\boot\dubbo-spring-boot-actuator\0.2.0\dubbo-spring-boot-actuator-0.2.0.jar;D:\repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;D:\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;D:\repository\com\netflix\archaius\archaius-core\0.4.1\archaius-core-0.4.1.jar;D:\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\repository\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.12\hystrix-metrics-event-stream-1.5.12.jar;D:\repository\com\netflix\hystrix\hystrix-serialization\1.5.12\hystrix-serialization-1.5.12.jar;D:\repository\com\fasterxml\jackson\module\jackson-module-afterburner\2.9.9\jackson-module-afterburner-2.9.9.jar;D:\repository\com\fasterxml\jackson\core\jackson-core\2.9.9\jackson-core-2.9.9.jar;D:\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;D:\repository\com\netflix\hystrix\hystrix-javanica\1.5.12\hystrix-javanica-1.5.12.jar;D:\repository\org\aspectj\aspectjrt\1.9.4\aspectjrt-1.9.4.jar;D:\repository\org\apache\commons\commons-lang3\3.3.1\commons-lang3-3.3.1.jar;D:\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;D:\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;D:\repository\com\google\guava\guava\15.0\guava-15.0.jar;D:\repository\com\google\code\findbugs\jsr305\2.0.0\jsr305-2.0.0.jar;D:\repository\org\apache\rocketmq\rocketmq-client\4.3.0\rocketmq-client-4.3.0.jar;D:\repository\org\apache\rocketmq\rocketmq-common\4.3.0\rocketmq-common-4.3.0.jar;D:\repository\org\apache\rocketmq\rocketmq-remoting\4.3.0\rocketmq-remoting-4.3.0.jar;D:\repository\com\alibaba\fastjson\1.2.29\fastjson-1.2.29.jar;D:\repository\io\netty\netty-all\4.1.36.Final\netty-all-4.1.36.Final.jar;D:\repository\org\apache\rocketmq\rocketmq-logging\4.3.0\rocketmq-logging-4.3.0.jar;D:\repository\io\netty\netty-tcnative-boringssl-static\2.0.25.Final\netty-tcnative-boringssl-static-2.0.25.Final.jar;D:\repository\com\zys\zys-store-api\0.0.1-SNAPSHOT\zys-store-api-0.0.1-SNAPSHOT.jar;D:\repository\org\springframework\boot\spring-boot-starter\2.1.6.RELEASE\spring-boot-starter-2.1.6.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot\2.1.6.RELEASE\spring-boot-2.1.6.RELEASE.jar;D:\repository\org\springframework\boot\spring-boot-starter-logging\2.1.6.RELEASE\spring-boot-starter-logging-2.1.6.RELEASE.jar;D:\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;D:\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;D:\repository\org\slf4j\jul-to-slf4j\1.7.26\jul-to-slf4j-1.7.26.jar;D:\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;D:\idea\IntelliJ IDEA 2019.2\lib\idea_rt.jar 2019-11-20 10:18:58.930 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=C:\Program Files\Java\jdk1.8.0_211\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\idea\IntelliJ IDEA 2019.2\jbr\\bin;D:\idea\IntelliJ IDEA 2019.2\jbr\\bin\server;D:\oracleClient\product\11.2.0\client_1\bin;D:\xshell\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_211;D:\Git\cmd;C:\Program Files\MySQL\MySQL Server 5.7\bin;D:\TortoiseSVN1.10\bin;D:\apache-maven-idea\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;. 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp\ 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=<NA> 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.name=Windows 10 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:os.version=10.0 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.name=Administrator 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.home=C:\Users\Administrator 2019-11-20 10:18:58.931 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Client environment:user.dir=D:\ideaworkspace\zys-project 2019-11-20 10:18:58.932 INFO 48096 --- [ main] org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=192.168.146.132:2181,192.168.146.131:2181,192.168.146.133:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@5a3a1bf9 2019-11-20 10:18:58.942 INFO 48096 --- [8.146.132:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server 192.168.146.132/192.168.146.132:2181. Will not attempt to authenticate using SASL (unknown error) 2019-11-20 10:18:58.942 INFO 48096 --- [8.146.132:2181)] org.apache.zookeeper.ClientCnxn : Socket connection established to 192.168.146.132/192.168.146.132:2181, initiating session 2019-11-20 10:18:58.953 INFO 48096 --- [8.146.132:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server 192.168.146.132/192.168.146.132:2181, sessionid = 0x200000235350000, negotiated timeout = 40000 2019-11-20 10:18:58.957 INFO 48096 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED 2019-11-20 10:18:59.030 INFO 48096 --- [ main] c.a.d.c.s.b.f.a.ReferenceBeanBuilder : <dubbo:reference object="com.alibaba.dubbo.common.bytecode.proxy0@3b5c665c" singleton="true" interface="com.zys.store.service.api.HelloServiceApi" uniqueServiceName="com.zys.store.service.api.HelloServiceApi:1.0.0" generic="false" version="1.0.0" check="false" timeout="3000" id="com.zys.store.service.api.HelloServiceApi" /> has been built. 2019-11-20 10:18:59.242 INFO 48096 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2019-11-20 10:18:59.420 INFO 48096 --- [ main] com.zaxxer.hikari.HikariDataSource : MyHikariCP - Starting... 2019-11-20 10:18:59.592 INFO 48096 --- [ main] com.zaxxer.hikari.HikariDataSource : MyHikariCP - Start completed. _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.1.1 2019-11-20 10:18:59.836 INFO 48096 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 2019-11-20 10:18:59.897 INFO 48096 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8088 (http) with context path '' 2019-11-20 10:18:59.899 INFO 48096 --- [ main] com.zys.order.ZysOrderApplication : Started ZysOrderApplication in 12.907 seconds (JVM running for 13.464) 2019-11-20 10:18:59.956 INFO 48096 --- [-192.168.255.54] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2019-11-20 10:18:59.956 INFO 48096 --- [-192.168.255.54] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2019-11-20 10:18:59.969 INFO 48096 --- [-192.168.255.54] o.s.web.servlet.DispatcherServlet : Completed initialization in 13 ms ```
爬虫demo,运行application后一直提示All files are up-to-date,求助怎么解决
控制台信息: ``` "G:\IntelliJ IDEA 2019.3.3\jbr\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:G:\IntelliJ IDEA 2019.3.3\lib\idea_rt.jar=13492:G:\IntelliJ IDEA 2019.3.3\bin" -Dfile.encoding=UTF-8 -classpath G:\毕设爬虫\target\classes;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.2.RELEASE\spring-boot-starter-web-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.2.RELEASE\spring-boot-starter-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot\2.2.2.RELEASE\spring-boot-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.2.RELEASE\spring-boot-autoconfigure-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.2.2.RELEASE\spring-boot-starter-logging-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\Magiskboy\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\Magiskboy\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;C:\Users\Magiskboy\.m2\repository\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;C:\Users\Magiskboy\.m2\repository\org\slf4j\jul-to-slf4j\1.7.29\jul-to-slf4j-1.7.29.jar;C:\Users\Magiskboy\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-core\5.2.2.RELEASE\spring-core-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-jcl\5.2.2.RELEASE\spring-jcl-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.2.RELEASE\spring-boot-starter-json-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.10.1\jackson-databind-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.10.1\jackson-annotations-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.10.1\jackson-core-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.1\jackson-datatype-jdk8-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.1\jackson-datatype-jsr310-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.1\jackson-module-parameter-names-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.2.RELEASE\spring-boot-starter-tomcat-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.29\tomcat-embed-core-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.29\tomcat-embed-el-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.29\tomcat-embed-websocket-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.2.RELEASE\spring-boot-starter-validation-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-web\5.2.2.RELEASE\spring-web-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-beans\5.2.2.RELEASE\spring-beans-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-webmvc\5.2.2.RELEASE\spring-webmvc-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-aop\5.2.2.RELEASE\spring-aop-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-context\5.2.2.RELEASE\spring-context-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-expression\5.2.2.RELEASE\spring-expression-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.2.2.RELEASE\spring-boot-starter-data-jpa-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.2.2.RELEASE\spring-boot-starter-aop-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.2.RELEASE\spring-boot-starter-jdbc-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\com\zaxxer\HikariCP\3.4.1\HikariCP-3.4.1.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-jdbc\5.2.2.RELEASE\spring-jdbc-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.1\jakarta.activation-api-1.2.1.jar;C:\Users\Magiskboy\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\Magiskboy\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\hibernate-core\5.4.9.Final\hibernate-core-5.4.9.Final.jar;C:\Users\Magiskboy\.m2\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\Magiskboy\.m2\repository\net\bytebuddy\byte-buddy\1.10.4\byte-buddy-1.10.4.jar;C:\Users\Magiskboy\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\Magiskboy\.m2\repository\org\jboss\jandex\2.1.1.Final\jandex-2.1.1.Final.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\Magiskboy\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.0.Final\hibernate-commons-annotations-5.1.0.Final.jar;C:\Users\Magiskboy\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.2\jaxb-runtime-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\org\glassfish\jaxb\txw2\2.3.2\txw2-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.8\istack-commons-runtime-3.0.8.jar;C:\Users\Magiskboy\.m2\repository\org\jvnet\staxex\stax-ex\1.8.1\stax-ex-1.8.1.jar;C:\Users\Magiskboy\.m2\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.16\FastInfoset-1.2.16.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\data\spring-data-jpa\2.2.3.RELEASE\spring-data-jpa-2.2.3.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\data\spring-data-commons\2.2.3.RELEASE\spring-data-commons-2.2.3.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-orm\5.2.2.RELEASE\spring-orm-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-tx\5.2.2.RELEASE\spring-tx-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\slf4j\slf4j-api\1.7.29\slf4j-api-1.7.29.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-aspects\5.2.2.RELEASE\spring-aspects-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\mysql\mysql-connector-java\8.0.18\mysql-connector-java-8.0.18.jar;C:\Users\Magiskboy\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;C:\Users\Magiskboy\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;C:\Users\Magiskboy\.m2\repository\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;C:\Users\Magiskboy\.m2\repository\org\jsoup\jsoup\1.10.3\jsoup-1.10.3.jar;C:\Users\Magiskboy\.m2\repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;C:\Users\Magiskboy\.m2\repository\org\javassist\javassist\3.20.0-GA\javassist-3.20.0-GA.jar cn.dzy.jd.Application . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.2.2.RELEASE) 2020-03-21 00:27:07.486 INFO 368 --- [ main] cn.dzy.jd.Application : Starting Application on DESKTOP-MBMAE94 with PID 368 (started by Magiskboy in G:\crawler-Test) 2020-03-21 00:27:07.488 INFO 368 --- [ main] cn.dzy.jd.Application : No active profile set, falling back to default profiles: default 2020-03-21 00:27:08.244 INFO 368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2020-03-21 00:27:08.309 INFO 368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 48ms. Found 1 JPA repository interfaces. 2020-03-21 00:27:08.577 INFO 368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-03-21 00:27:08.803 INFO 368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http) 2020-03-21 00:27:08.812 INFO 368 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-03-21 00:27:08.813 INFO 368 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.29] 2020-03-21 00:27:08.989 INFO 368 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-03-21 00:27:08.990 INFO 368 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1445 ms 2020-03-21 00:27:09.169 INFO 368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2020-03-21 00:27:09.288 INFO 368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2020-03-21 00:27:09.329 INFO 368 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2020-03-21 00:27:09.386 INFO 368 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.9.Final} 2020-03-21 00:27:09.483 INFO 368 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-03-21 00:27:09.615 INFO 368 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2020-03-21 00:27:10.321 INFO 368 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-03-21 00:27:10.327 INFO 368 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-03-21 00:27:10.727 WARN 368 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2020-03-21 00:27:10.836 INFO 368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2020-03-21 00:27:10.984 INFO 368 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' 2020-03-21 00:27:11.073 INFO 368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path '' 2020-03-21 00:27:11.075 INFO 368 --- [ main] cn.dzy.jd.Application : Started Application in 3.966 seconds (JVM running for 5.233) ``` Event log上就一直显示:All files are up-to-date 我百度了几个答案,并没有用,急!!!
运行报错,大佬们帮忙看看什么原因java.util.concurrent.ExecutionException
"C:\Program Files\Java\jdk1.8.0_201\bin\java" "-Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\Desktop\travel - 副本" -Dfile.encoding=gb2312 "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_rt.jar=51249:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\bin" -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.2.6 tomcat7:run [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for cn.itcast:travel:war:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 131, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building travel 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> tomcat7-maven-plugin:2.1:run (default-cli) > process-classes @ travel >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ travel --- [WARNING] Using platform encoding (gb2312 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ travel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 40 source files to C:\Users\Administrator\Desktop\travel - 副本\target\classes [WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 某些输入文件使用了未经检查或不安全的操作。 [WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] <<< tomcat7-maven-plugin:2.1:run (default-cli) < process-classes @ travel <<< [INFO] [INFO] --- tomcat7-maven-plugin:2.1:run (default-cli) @ travel --- [INFO] Running war on http://localhost:80/travel [INFO] Using existing Tomcat server configuration at C:\Users\Administrator\Desktop\travel - 副本\target\tomcat [INFO] create webapp with contextPath: /travel 七月 21, 2019 5:00:20 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-80"] 七月 21, 2019 5:00:20 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Tomcat 七月 21, 2019 5:00:20 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.37 七月 21, 2019 5:00:21 下午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/travel]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/travel]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ... 6 more Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> #write/* in servlet mapping at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3223) at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3198) at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1366) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1353) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more 七月 21, 2019 5:00:21 下午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1091) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:512) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.989 s [INFO] Finished at: 2019-07-21T17:00:21+08:00 [INFO] Final Memory: 32M/279M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project travel: Could not start Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Process finished with exit code 1
在Idea上的springmvc项目运行tomcat时,访问主页显示404,求解?
# 运行tomcat后,访问主页显示404,求解 ## Javaspringmvc 10-Sep-2019 22:22:36.195 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used. 10-Sep-2019 22:22:41.178 信息 [RMI TCP Connection(3)-127.0.0.1] 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. 10-Sep-2019 22:22:41.803 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [406] milliseconds. [2019-09-10 10:22:41,959] Artifact itheima_spring_mvc:war exploded: Artifact is deployed successfully [2019-09-10 10:22:41,959] Artifact itheima_spring_mvc:war exploded: Deploy took 7,623 milliseconds 10-Sep-2019 22:22:44.084 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\develop\apache-tomcat-8.5.31\webapps\manager] 10-Sep-2019 22:22:44.490 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\develop\apache-tomcat-8.5.31\webapps\manager] has finished in [406] ms
求WebLogic10.3下运行velocity出错的解决办法
<p>本人现在有一个项目(SSH)</p> <p>在Windows+Tomcat6上部署</p> <p>运行皆正常.</p> <p> </p> <p>但迁移到Linux(RedHat Server 5.5)+WebLogic10.3上</p> <p>部署报错.</p> <p> </p> <p>错误信息如下:</p> <p> </p> <p><span style="background-color: #ff0000;"><span style="color: #000000; background-color: #ffffff;">- - Servlet Engine: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 <br>- - Java Version:   1.6.0_05<br>- - Java Vendor:    Sun Microsystems Inc.<br>- VelocityViewServlet: Using custom properties at '/WEB-INF/config/velocity.properties'<br>- LogSystem has been deprecated. Please use a LogChute implementation.<br>- Velocimacro : added #getCnWeek(  num ) : source = /WEB-INF/vmLib/common.vm<br>- Velocimacro : allowInlineLocal = true : VMs defined inline will be local to their defining templat<br>e only.<br>- Velocimacro : autoload on : VM system will automatically reload global library macros<br>- Using config file '/WEB-INF/config/toolbox.xml'<br>- Digester.getParser: <br>java.lang.UnsupportedOperationException: This parser does not support specification "null" version "<br>null"<br> at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448)<br> at org.apache.commons.digester.Digester.getFactory(Digester.java:534)<br> at org.apache.commons.digester.Digester.getParser(Digester.java:786)<br> at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)<br> at org.apache.commons.digester.Digester.parse(Digester.java:1887)<br> at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManager.java:211)<br> at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance(ServletToolboxManager.j<br>ava:169)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbox(VelocityViewServlet.java:<br>323)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(VelocityViewServlet.java:212)<br> at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)<br> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br> at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br> at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)<br> at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)<br> at weblogic.servlet.internal.StubLifecycleHelper.&lt;init&gt;(StubLifecycleHelper.java:48)<br> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)<br> at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)<br> at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1<br>870)<br> at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)<br> at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)<br> at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)<br> at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)<br> at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)<br> at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)<br> at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)<br> at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)<br> at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeploymen<br>t.java:361)<br> at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)<br> at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)<br> at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.j<br>ava:233)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:16<br>9)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)<br> at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:<br>173)<br> at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:8<br>9)<br> at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)<br> at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)<br>- Problem loading toolbox '/WEB-INF/config/toolbox.xml'<br>java.lang.NullPointerException<br> at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)<br> at org.apache.commons.digester.Digester.parse(Digester.java:1887)<br> at org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManager.java:211)<br> at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance(ServletToolboxManager.j<br>ava:169)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbox(VelocityViewServlet.java:<br>323)<br> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(VelocityViewServlet.java:212)<br> at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)<br> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br> at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br> at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)<br> at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)<br> at weblogic.servlet.internal.StubLifecycleHelper.&lt;init&gt;(StubLifecycleHelper.java:48)<br> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)<br> at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)<br> at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1<br>870)<br> at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)<br> at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)<br> at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)<br> at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)<br> at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)<br> at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)<br> at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)<br> at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)<br> at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)<br> at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)<br> at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)<br> at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)<br> at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)<br> at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeploymen<br>t.java:361)<br> at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)<br> at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)<br> at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.j<br>ava:233)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:16<br>9)<br> at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)<br> at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:<br>173)<br> at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:8<br>9)<br> at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)<br> at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)<br>- VelocityViewServlet: Default content-type is: text/html; charset=utf-8<br>- Root WebApplicationContext: initialization started</span></span></p> <p><span style="color: #000000; background-color: #c0c0c0;"> </span></p> <p> </p> <p> </p> <p>这是我项目中用到的包<br>E:\workspace\ot\BM_LIB\antlr-2.7.6rc1.jar<br>E:\workspace\ot\BM_LIB\axis.jar<br>E:\workspace\ot\BM_LIB\axis-ant.jar<br>E:\workspace\ot\BM_LIB\axis-schema.jar<br>E:\workspace\ot\BM_LIB\backport-util-concurrent-3.0.jar<br>E:\workspace\ot\BM_LIB\c3p0-0.9.0.jar<br>E:\workspace\ot\BM_LIB\cglib-nodep-2.1_3.jar<br>E:\workspace\ot\BM_LIB\commons-beanutils-1.7.0.jar<br>E:\workspace\ot\BM_LIB\commons-collections-3.2.jar<br>E:\workspace\ot\BM_LIB\commons-digester-2.0.jar<br>E:\workspace\ot\BM_LIB\commons-discovery-0.2.jar<br>E:\workspace\ot\BM_LIB\commons-fileupload-1.2.1.jar<br>E:\workspace\ot\BM_LIB\commons-io-1.3.2.jar<br>E:\workspace\ot\BM_LIB\commons-lang-2.3.jar<br>E:\workspace\ot\BM_LIB\commons-logging-1.0.4.jar<br>E:\workspace\ot\BM_LIB\commons-logging-api-1.1.jar<br>E:\workspace\ot\BM_LIB\commons-pool-1.3.jar<br>E:\workspace\ot\BM_LIB\commons-validator-1.3.1.jar<br>E:\workspace\ot\BM_LIB\dom4j-1.6.jar<br>E:\workspace\ot\BM_LIB\dwr.jar<br>E:\workspace\ot\BM_LIB\ehcache-1.5.0.jar<br>E:\workspace\ot\BM_LIB\ezmorph-1.0.4.jar<br>E:\workspace\ot\BM_LIB\freem a r k er-2.3.15.jar<br>E:\workspace\ot\BM_LIB\hibernate3.jar<br>E:\workspace\ot\BM_LIB\java-core-2.4.1.jar<br>E:\workspace\ot\BM_LIB\jaxrpc.jar<br>E:\workspace\ot\BM_LIB\jdom.jar<br>E:\workspace\ot\BM_LIB\json-lib-2.2.1.jar<br>E:\workspace\ot\BM_LIB\jstl.jar<br>E:\workspace\ot\BM_LIB\jta.jar<br>E:\workspace\ot\BM_LIB\jtds-1.2.jar<br>E:\workspace\ot\BM_LIB\junit.jar<br>E:\workspace\ot\BM_LIB\jxl.jar<br>E:\workspace\ot\BM_LIB\log4j-1.2.12.jar<br>E:\workspace\ot\BM_LIB\mail.jar<br>E:\workspace\ot\BM_LIB\mr.jar<br>E:\workspace\ot\BM_LIB\ognl-2.7.3.jar<br>E:\workspace\ot\BM_LIB\ojdbc14.jar<br>E:\workspace\ot\BM_LIB\opf-template.jar<br>E:\workspace\ot\BM_LIB\oscache-2.4.1.jar<br>E:\workspace\ot\BM_LIB\quartz-all-1.6.0.jar<br>E:\workspace\ot\BM_LIB\saaj.jar<br>E:\workspace\ot\BM_LIB\SecuInter.jar<br>E:\workspace\ot\BM_LIB\slf4j-api-1.5.5.jar<br>E:\workspace\ot\BM_LIB\slf4j-simple-1.5.5.jar<br>E:\workspace\ot\BM_LIB\spring.jar<br>E:\workspace\ot\BM_LIB\sqljdbc.jar<br>E:\workspace\ot\BM_LIB\standard.jar<br>E:\workspace\ot\BM_LIB\struts2-core-2.1.8.jar<br>E:\workspace\ot\BM_LIB\struts2-dojo-plugin-2.1.6.jar<br>E:\workspace\ot\BM_LIB\struts2-spring-plugin-2.1.8.jar<br>E:\workspace\ot\BM_LIB\wfclient.jar<br>E:\workspace\ot\BM_LIB\wsdl4j-1.5.1.jar<br>E:\workspace\ot\BM_LIB\xpp3_min-1.1.3.4.O.jar<br>E:\workspace\ot\BM_LIB\xstream-1.2.2.jar<br>E:\workspace\ot\BM_LIB\xwork-core-2.1.6.jar<br>E:\workspace\ot\BM_LIB\yalesso.jar<br>E:\workspace\ot\BM_LIB\velocity-1.5.jar<br>E:\workspace\ot\BM_LIB\velocity-tools-1.4.jar</p> <p> </p> <p> </p> <p>WebLogic下的包(bea\modules)</p> <p>E:\bea\modules\org.apache.openjpa_2.2.0.0_1-1-0.jar<br>E:\bea\modules\com.bea.adaptive.harvester.utils_1.2.0.0.jar<br>E:\bea\modules\com.bea.cie.bsu_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.comdev_5.6.0.0.jar<br>E:\bea\modules\com.bea.cie.comdev_5.9.0.0.jar<br>E:\bea\modules\com.bea.cie.common-plugin_2.2.0.0.jar<br>E:\bea\modules\com.bea.cie.config_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-impl_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-impl_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-xbean_2.3.0.0.jar<br>E:\bea\modules\com.bea.cie.gpr-xbean_2.8.0.0.jar<br>E:\bea\modules\com.bea.cie.instinfo_5.7.0.0.jar<br>E:\bea\modules\com.bea.cie.paf_1.1.0.0.jar<br>E:\bea\modules\com.bea.cie.paf-impl_1.1.0.0.jar<br>E:\bea\modules\com.bea.cie.patch-client_3.1.0.0.jar<br>E:\bea\modules\com.bea.cie.patch-common_3.1.0.0.jar<br>E:\bea\modules\com.bea.cie.plugin_2.1.0.0.jar<br>E:\bea\modules\com.bea.cie.plugin-wizard_2.1.2.0.jar<br>E:\bea\modules\com.bea.cie.quickstart_10.3.0.0.jar<br>E:\bea\modules\com.bea.cie.uninstall_5.9.0.0.jar<br>E:\bea\modules\com.bea.cie.wizard_5.6.0.0.jar<br>E:\bea\modules\com.bea.cie.wlw-plaf_5.2.0.0.jar<br>E:\bea\modules\com.bea.cie.xmldh_2.2.0.0.jar<br>E:\bea\modules\com.bea.cie.xmldh_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.annogen_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.antlr.runtime_2.7.7.jar<br>E:\bea\modules\com.bea.core.antlr_2.7.7.jar<br>E:\bea\modules\com.bea.core.apache.commons.collections_3.2.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.lang_2.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.logging.api_1.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.logging_1.1.0.jar<br>E:\bea\modules\com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar<br>E:\bea\modules\com.bea.core.apache.commons.pool_1.3.0.jar<br>E:\bea\modules\com.bea.core.apache.dom_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.apache.log4j_1.0.0.0_1-2-13.jar<br>E:\bea\modules\com.bea.core.apache.log4j_1.2.13.jar<br>E:\bea\modules\com.bea.core.apache.logging_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.apache.oro_1.0.0.0_2-0-8.jar<br>E:\bea\modules\com.bea.core.apache.regexp_1.0.0.0_1-4.jar<br>E:\bea\modules\com.bea.core.apache.xalan_2.7.0.jar<br>E:\bea\modules\com.bea.core.apache.xml.security_1.3.0.jar<br>E:\bea\modules\com.bea.core.apache.xml.serializer_2.7.0.jar<br>E:\bea\modules\com.bea.core.bea.opensaml2_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.bea.opensaml_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.beangen_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.beaninfo_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.binxml_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.certj_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.common.engine.api_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.engine.impl_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.api_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.i18n_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.impl_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.jdkutils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.providers.env_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.providers.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2.manage_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml2_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.saml.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.xacml_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.common.security.xacmlproviders.utils_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.compat.wl.90_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.datasource6.binding_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.datasource6_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.datasource_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.j2ee.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.j2ee_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.settable.binding_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.wl.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor.wl_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.descriptor_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.accessor.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.accessor_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.core_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.instrumentor_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.logging_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.notifications_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.query_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.diagnostics.snmp_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.ejbgen_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub.binding_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub.mbean_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.http.pubsub_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.i18n.generator_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.i18n.tools_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.i18n_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.jarbuilder_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.jatmi_1.2.0.3.jar<br>E:\bea\modules\com.bea.core.jmspool_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.jsafe_3.5.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration.binding_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration.tools_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.kodo.integration_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.kodo_1.0.0.0_4-2-0.jar<br>E:\bea\modules\com.bea.core.ldapjdk_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.logging_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.management.core.binding_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.management.core_2.3.0.0.jar<br>E:\bea\modules\com.bea.core.management.jmx_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.mbean.maker_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.mbean.support_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.messaging.kernel_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.monitoring.harvester.api_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.monitoring.harvester.jmx_2.1.0.0.jar<br>E:\bea\modules\com.bea.core.nodemanager.plugin_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.process_5.4.0.0.jar<br>E:\bea\modules\com.bea.core.redef.binding_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.redef_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.redefagent_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.repackaged.apache.bcel_5.2.1.0.jar<br>E:\bea\modules\com.bea.core.repackaged.apache.commons.logging_1.2.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.commons_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.tree_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm.util_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.asm_3.0.jar<br>E:\bea\modules\com.bea.core.repackaged.aspectj.aspectjweaver_5.1.0.jar<br>E:\bea\modules\com.bea.core.repackaged.jdt_3.2.2.0.jar<br>E:\bea\modules\com.bea.core.repackaged.springframework.pitchfork_1.1.0.0_1-0.jar<br>E:\bea\modules\com.bea.core.repackaged.springframework.spring_2.0.3.jar<br>E:\bea\modules\com.bea.core.resourcepool_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.serp_1.14.2.0.jar<br>E:\bea\modules\com.bea.core.store.admintool_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.store.gxa_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.store.jdbc_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.store_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.timers_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.transaction_2.5.0.0.jar<br>E:\bea\modules\com.bea.core.utils.agent_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.utils.classloaders_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.utils.compiler_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.utils.expressions_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.utils.full_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.utils.wrapper_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.utils_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.commons.logging_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.lifecycle_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.rmi.client_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.saaj_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.auth_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.digest_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.identity_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.logger_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.security.wls_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.weblogic.security_1.0.0.0_5-0-2-0.jar<br>E:\bea\modules\com.bea.core.weblogic.socket.api_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.stax_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.web.api_1.2.0.0.jar<br>E:\bea\modules\com.bea.core.weblogic.workmanager_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.woodstox_1.0.0.0_3-2-4.jar<br>E:\bea\modules\com.bea.core.workarea_1.4.0.0.jar<br>E:\bea\modules\com.bea.core.ws.axis_1.0.0.0.jar<br>E:\bea\modules\com.bea.core.ws.wsdl4j_1.5.1.jar<br>E:\bea\modules\com.bea.core.xml.beaxmlbeans_1.0.0.0_2-4-0.jar<br>E:\bea\modules\com.bea.core.xml.beaxmlbeans_2.2.0.0.jar<br>E:\bea\modules\com.bea.core.xml.stax_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.xml.staxb.buildtime_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.xml.staxb.runtime_1.3.0.0.jar<br>E:\bea\modules\com.bea.core.xml.weblogic.xpath_1.1.0.0.jar<br>E:\bea\modules\com.bea.core.xml.xmlbeans_1.0.0.0_2-4-0.jar<br>E:\bea\modules\com.bea.core.xml.xmlbeans_2.2.0.0.jar<br>E:\bea\modules\com.bea.core.xquery.beaxmlbeans-interop_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.xquery.xmlbeans-interop_0.9.6.0.jar<br>E:\bea\modules\com.bea.core.xquery_0.9.6.0.jar<br>E:\bea\modules\com.bea.mbean.typing.util_1.2.0.0.jar<br>E:\bea\modules\com.bea.web.pubsub.jms_1.2.0.0.jar<br>E:\bea\modules\com.bea.web.pubsub.security_1.2.0.0.jar<br>E:\bea\modules\com.sun.jimi_1.0.0.0.jar<br>E:\bea\modules\glassfish.el_2.1.0.jar<br>E:\bea\modules\glassfish.jaxb_2.1.6.jar<br>E:\bea\modules\glassfish.jaxws.fastinfoset_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.mimepull_1.0.144.jar<br>E:\bea\modules\glassfish.jaxws.resolver_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.rt_2.1.3.jar<br>E:\bea\modules\glassfish.jaxws.tools_1.0.0.0_2-1-3.jar<br>E:\bea\modules\glassfish.jstl_1.2.0.1.jar<br>E:\bea\modules\glassfish.stax.ex_1.0.0.0_1-2.jar<br>E:\bea\modules\glassfish.xmlstreambuffer_0.5.221.jar<br>E:\bea\modules\javax.activation_1.1.0.0_1-1.jar<br>E:\bea\modules\javax.activation_1.1.jar<br>E:\bea\modules\javax.annotation_1.1.jar<br>E:\bea\modules\javax.ejb_3.0.1.jar<br>E:\bea\modules\javax.enterprise.deploy_1.2.jar<br>E:\bea\modules\javax.interceptor_1.0.jar<br>E:\bea\modules\javax.jdo_2.0.1.jar<br>E:\bea\modules\javax.jms_1.1.1.jar<br>E:\bea\modules\javax.jsf_1.2.0.0.jar<br>E:\bea\modules\javax.jsp_1.1.0.0_2-1.jar<br>E:\bea\modules\javax.jws_2.0.jar<br>E:\bea\modules\javax.mail_1.1.0.0_1-1.jar<br>E:\bea\modules\javax.mail_1.4.jar<br>E:\bea\modules\javax.management.j2ee_1.0.jar<br>E:\bea\modules\javax.management.remote_1.0.1.3.jar<br>E:\bea\modules\javax.management_1.2.1.jar<br>E:\bea\modules\javax.persistence_1.0.0.0_1-0.jar<br>E:\bea\modules\javax.resource_1.5.1.jar<br>E:\bea\modules\javax.security.jacc_1.0.0.0_1-1.jar<br>E:\bea\modules\javax.servlet_1.0.0.0_2-5.jar<br>E:\bea\modules\javax.transaction_1.0.0.0_1-1.jar<br>E:\bea\modules\javax.xml.bind_2.1.1.jar<br>E:\bea\modules\javax.xml.registry_1.0.0.0_1-0.jar<br>E:\bea\modules\javax.xml.rpc_1.1.jar<br>E:\bea\modules\javax.xml.rpc_1.2.1.jar<br>E:\bea\modules\javax.xml.soap_1.3.0.0.jar<br>E:\bea\modules\javax.xml.soap_1.3.1.0.jar<br>E:\bea\modules\javax.xml.stream_1.0.0.0.jar<br>E:\bea\modules\javax.xml.stream_1.1.1.0.jar<br>E:\bea\modules\javax.xml.ws_2.1.1.jar<br>E:\bea\modules\javolution_3.7.19.0.jar<br>E:\bea\modules\joda.time_1.2.1.0.jar<br>E:\bea\modules\monfox.dsnmp.agent_1.0.0.0_4-6-5.jar<br>E:\bea\modules\org.apache.ant.patch_1.1.0.0_1-6-5.jar</p> <p> </p> <p>注:本来这里面还有这几个包</p> <p>但我在网上找了一下</p> <p>有的说可能是包有重复</p> <p>我就把哪几个包去掉了.</p> <p>但去掉后还是照样报错.</p> <p> </p> <p>如下:</p> <p>com.bea.core.apache.velocity.dep_1.4.jar</p> <p>com.bea.core.apache.velocity_1.4.jar</p> <p>com.bea.core.apache.xerces.resolver_2.8.1.jar</p> <p>com.bea.core.apache.xercesImpl_2.8.1.jar</p> <p>com.bea.core.apache_1.2.0.0.jar</p> <p>com.bea.core.apache.xerces.xml-apis_2.8.1.jar</p> <p>glassfish.jaxb.xjc_2.1.6.jar</p> <p> </p> <p>如有知道问题解决办法者,望真诚相告,非常感谢!</p>
tomcat 运行中终止 生成错误日志 hs_err_pid328.log,哪位大神帮忙看下是什么原因?
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e833083, pid=328, tid=388 # # JRE version: 7.0_15-b03 # Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # V [jvm.dll+0x73083] # # Core dump written. Default location: D:\Program Files\apache-tomcat-7.0.73\tomcat1\hs_err_pid328.mdmp # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x008ee400): VMThread [stack: 0x00b80000,0x00bf0000] [id=388] siginfo: ExceptionCode=0xc0000005, reading address 0x00000008 Registers: EAX=0x00000004, EBX=0x00befc1c, ECX=0x00000000, EDX=0x00000003 ESP=0x00befb1c, EBP=0x00befb2c, ESI=0x18fe6008, EDI=0x18fe6198 EIP=0x6e833083, EFLAGS=0x00010283 Top of Stack: (sp=0x00befb1c) 0x00befb1c: 00862990 00befc1c 00000000 00735538 0x00befb2c: 00befb40 6e8240dd 00befc1c 0073d128 0x00befb3c: 00000000 00befb54 6e829e6c 00befc1c 0x00befb4c: 0073d128 00befbdc 00befc4c 6e824507 0x00befb5c: 00000000 00befc1c 00befbf4 00862990 0x00befb6c: 6e825622 0073d180 0073d128 008ece48 0x00befb7c: 00010100 00befdd0 00000000 00000000 0x00befb8c: 00befbb0 6e831ed7 00befb00 6e7c49a5 Instructions: (pc=0x6e833083) 0x6e833063: 8b 5d 08 8b f0 eb 08 8d 9b 00 00 00 00 8b f8 8b 0x6e833073: 7f 34 3b f7 73 21 8d a4 24 00 00 00 00 8b 4e 04 0x6e833083: 8b 41 08 8b 90 34 01 00 00 83 c1 08 53 56 ff d2 0x6e833093: 8d 34 86 3b f7 72 e6 8b 45 fc 3b 78 34 72 ce 8b Register to memory mapping: EAX=0x00000004 is an unknown value EBX=0x00befc1c is an unknown value ECX=0x00000000 is an unknown value EDX=0x00000003 is an unknown value ESP=0x00befb1c is an unknown value EBP=0x00befb2c is an unknown value ESI= [error occurred during error reporting (printing register info), id 0xc0000005] Stack: [0x00b80000,0x00bf0000], sp=0x00befb1c, free space=446k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x73083] V [jvm.dll+0x640dd] V [jvm.dll+0x69e6c] V [jvm.dll+0x64507] V [jvm.dll+0x6ae72] V [jvm.dll+0x624b3] V [jvm.dll+0x177326] V [jvm.dll+0x14f475] V [jvm.dll+0x14e5de] V [jvm.dll+0x14e967] V [jvm.dll+0x14ee32] V [jvm.dll+0x17ee89] C [MSVCR100.dll+0x5c556] endthreadex+0x3a C [MSVCR100.dll+0x5c600] endthreadex+0xe4 C [kernel32.dll+0x2484f] GetModuleHandleA+0xdf VM_Operation (0x0379e3e0): GenCollectForAllocation, mode: safepoint, requested by thread 0x038a4400 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x03409c00 JavaThread "catalina-exec-5" daemon [_thread_blocked, id=492, stack(0x04580000,0x045f0000)] 0x0330c400 JavaThread "catalina-exec-4" daemon [_thread_blocked, id=5564, stack(0x04410000,0x04480000)] 0x038a4400 JavaThread "catalina-exec-2" daemon [_thread_blocked, id=884, stack(0x03730000,0x037a0000)] 0x03281400 JavaThread "catalina-exec-1" daemon [_thread_blocked, id=912, stack(0x036c0000,0x03730000)] 0x032c4800 JavaThread "http-apr-8081-AsyncTimeout" daemon [_thread_blocked, id=1484, stack(0x043a0000,0x04410000)] 0x032ad800 JavaThread "http-apr-8081-Acceptor-1" daemon [_thread_in_native, id=3648, stack(0x04330000,0x043a0000)] 0x03420c00 JavaThread "http-apr-8081-Acceptor-0" daemon [_thread_blocked, id=3652, stack(0x042c0000,0x04330000)] 0x03ad3400 JavaThread "http-apr-8081-Sendfile" daemon [_thread_blocked, id=3620, stack(0x04250000,0x042c0000)] 0x03951400 JavaThread "http-apr-8081-Poller" daemon [_thread_blocked, id=3608, stack(0x041e0000,0x04250000)] 0x038e2400 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3416, stack(0x04170000,0x041e0000)] 0x038ebc00 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=1560, stack(0x04030000,0x040a0000)] 0x03425400 JavaThread "Timer-0" daemon [_thread_blocked, id=1544, stack(0x03fc0000,0x04030000)] 0x031fb000 JavaThread "GC Daemon" daemon [_thread_blocked, id=960, stack(0x03610000,0x03680000)] 0x00919c00 JavaThread "Service Thread" daemon [_thread_blocked, id=648, stack(0x02e30000,0x02ea0000)] 0x00914000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=488, stack(0x02dc0000,0x02e30000)] 0x00912000 JavaThread "Attach Listener" daemon [_thread_blocked, id=612, stack(0x00d40000,0x00db0000)] 0x00910c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=584, stack(0x00cd0000,0x00d40000)] 0x008f4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=192, stack(0x00c60000,0x00cd0000)] 0x008f0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=540, stack(0x00bf0000,0x00c60000)] 0x00739000 JavaThread "main" [_thread_in_native, id=344, stack(0x00740000,0x007b0000)] Other Threads: =>0x008ee400 VMThread [stack: 0x00b80000,0x00bf0000] [id=388] 0x0091d800 WatcherThread [stack: 0x02ea0000,0x02f10000] [id=428] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x00737f30] Threads_lock - owner thread: 0x008ee400 [0x00738348] Heap_lock - owner thread: 0x038a4400 Heap def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 54% used [0x18d90000, 0x18fe6198, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Card table byte_map: [0x00960000,0x00a70000] byte_map_base: 0x008aa580 Polling page: 0x007b0000 Code Cache [0x00dc0000, 0x01540000, 0x02dc0000) total_blobs=3515 nmethods=3325 adapters=123 free_code_cache=25118Kb largest_free_block=25713408 Compilation events (10 events): Event: 36891.244 Thread 0x00914000 3382 com.dgj.entity.PagePram::getIpo_bankuai_type (5 bytes) Event: 36891.244 Thread 0x00914000 nmethod 3382 0x01538e08 code [0x01538f00, 0x01538f80] Event: 36911.232 Thread 0x00914000 3383 ! sun.reflect.GeneratedMethodAccessor106::invoke (61 bytes) Event: 36911.233 Thread 0x00914000 nmethod 3383 0x01538fc8 code [0x01539110, 0x015393ec] Event: 36911.234 Thread 0x00914000 3384 ! sun.reflect.GeneratedMethodAccessor103::invoke (61 bytes) Event: 36911.234 Thread 0x00914000 nmethod 3384 0x01539648 code [0x01539790, 0x01539a6c] Event: 36924.267 Thread 0x00914000 3385 com.dgj.entity.PagePram::getIssuer_diqu_type (5 bytes) Event: 36924.268 Thread 0x00914000 nmethod 3385 0x01539cc8 code [0x01539dc0, 0x01539e40] Event: 37017.169 Thread 0x00914000 3386 ! sun.reflect.GeneratedMethodAccessor104::invoke (61 bytes) Event: 37017.172 Thread 0x00914000 nmethod 3386 0x01539e88 code [0x01539fd0, 0x0153a2ac] GC Heap History (10 events): Event: 35589.566 GC heap after Heap after GC invocations=129 (full 1): def new generation total 39424K, used 2823K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36118.110 GC heap before {Heap before GC invocations=129 (full 1): def new generation total 39424K, used 37895K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36118.147 GC heap after Heap after GC invocations=130 (full 1): def new generation total 39424K, used 2752K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36413.160 GC heap before {Heap before GC invocations=130 (full 1): def new generation total 39424K, used 37824K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36413.222 GC heap after Heap after GC invocations=131 (full 1): def new generation total 39424K, used 2197K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36638.180 GC heap before {Heap before GC invocations=131 (full 1): def new generation total 39424K, used 37236K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 99% used [0x16b50000, 0x18d87b90, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36638.201 GC heap after Heap after GC invocations=132 (full 1): def new generation total 39424K, used 1385K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36833.461 GC heap before {Heap before GC invocations=132 (full 1): def new generation total 39424K, used 36457K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36833.483 GC heap after Heap after GC invocations=133 (full 1): def new generation total 39424K, used 1862K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 37037.357 GC heap before {Heap before GC invocations=133 (full 1): def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Deoptimization events (0 events): No events Internal exceptions (10 events): Event: 22629.694 Thread 0x03409c00 Threw 0x17be71a0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.695 Thread 0x03409c00 Threw 0x17be8e30 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17beb080 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17bed940 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bef3e8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bf15f0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.698 Thread 0x03409c00 Threw 0x17bf2750 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf69b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf7de0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 25856.947 Thread 0x03409c00 Threw 0x1747a6b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Events (10 events): Event: 36748.116 Executing VM operation: RevokeBias done Event: 36748.226 Executing VM operation: RevokeBias Event: 36748.227 Executing VM operation: RevokeBias done Event: 36818.100 Executing VM operation: RevokeBias Event: 36818.101 Executing VM operation: RevokeBias done Event: 36818.102 Executing VM operation: BulkRevokeBias Event: 36818.104 Executing VM operation: BulkRevokeBias done Event: 36833.459 Executing VM operation: GenCollectForAllocation Event: 36833.483 Executing VM operation: GenCollectForAllocation done Event: 37037.355 Executing VM operation: GenCollectForAllocation Dynamic libraries: 0x00400000 - 0x00418000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tomcat1.exe 0x7c930000 - 0x7ca03000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c92d000 C:\WINDOWS\system32\kernel32.dll 0x77f30000 - 0x77fdc000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c20000 - 0x77cc1000 C:\WINDOWS\system32\RPCRT4.dll 0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll 0x7ca10000 - 0x7d1ec000 C:\WINDOWS\system32\SHELL32.dll 0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dll 0x77bd0000 - 0x77c19000 C:\WINDOWS\system32\GDI32.dll 0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll 0x77eb0000 - 0x77f02000 C:\WINDOWS\system32\SHLWAPI.dll 0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL 0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL 0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll 0x77cd0000 - 0x77dd3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.5190_x-ww_319264BE\comctl32.dll 0x6e7c0000 - 0x6eb0c000 C:\Program Files\Java\jre7\bin\client\jvm.dll 0x71b10000 - 0x71b1b000 C:\WINDOWS\system32\WSOCK32.dll 0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll 0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll 0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll 0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL 0x78aa0000 - 0x78b5f000 C:\WINDOWS\system32\MSVCR100.dll 0x6e710000 - 0x6e71c000 C:\Program Files\Java\jre7\bin\verify.dll 0x6d4c0000 - 0x6d4e0000 C:\Program Files\Java\jre7\bin\java.dll 0x6e7a0000 - 0x6e7b3000 C:\Program Files\Java\jre7\bin\zip.dll 0x6e4e0000 - 0x6e4f4000 C:\Program Files\Java\jre7\bin\net.dll 0x6e500000 - 0x6e50e000 C:\Program Files\Java\jre7\bin\nio.dll 0x6e440000 - 0x6e44a000 C:\Program Files\Java\jre7\bin\management.dll 0x10000000 - 0x10141000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tcnative-1.dll 0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\MSWSOCK.dll 0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll 0x6e680000 - 0x6e6a0000 C:\Program Files\Java\jre7\bin\sunec.dll 0x6e6a0000 - 0x6e6a9000 C:\Program Files\Java\jre7\bin\sunmscapi.dll 0x760a0000 - 0x76133000 C:\WINDOWS\system32\CRYPT32.dll 0x76080000 - 0x76092000 C:\WINDOWS\system32\MSASN1.dll 0x69660000 - 0x696b7000 C:\WINDOWS\system32\hnetcfg.dll 0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll 0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll 0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll 0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll 0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll 0x777e0000 - 0x77800000 C:\WINDOWS\system32\NTMARTA.DLL 0x7e020000 - 0x7e02f000 C:\WINDOWS\system32\SAMLIB.dll 0x774b0000 - 0x775ea000 C:\WINDOWS\system32\ole32.dll 0x71ba0000 - 0x71bf7000 C:\WINDOWS\system32\NetApi32.dll 0x72f40000 - 0x72f67000 C:\WINDOWS\system32\winspool.drv 0x6d830000 - 0x6d8d8000 C:\WINDOWS\system32\DBGHELP.DLL 0x77b60000 - 0x77b68000 C:\WINDOWS\system32\VERSION.dll VM Arguments: jvm_args: -Dcatalina.home=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Dcatalina.base=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Djava.endorsed.dirs=D:\Program Files\apache-tomcat-7.0.73\tomcat1\endorsed -Djava.io.tmpdir=D:\Program Files\apache-tomcat-7.0.73\tomcat1\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\Program Files\apache-tomcat-7.0.73\tomcat1\conf\logging.properties -XX:PermSize=64M -XX:MaxPermSize=256m -Xms128m -Xmx256m exit -Xms128m -Xmx256m java_command: <unknown> Launcher Type: generic Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_15 CLASSPATH=D:\Program Files\tomcat\common\lib\servlet.jar;C:\Program Files\Java\jdk1.7.0_15\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_15\lib\tools.jar; PATH=D:\Program Files\prel\site\bin;D:\Program Files\prel\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\Java\jdk1.7.0_15\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\tomcat\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat2\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat3\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat4\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat5\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat6\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat7\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat8\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat9\bin; OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 63 Stepping 2, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 2 CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, tsc Memory: 4k page, physical 4193472k(1140456k free), swap 6115224k(2295060k free) vm_info: Java HotSpot(TM) Client VM (23.7-b01) for windows-x86 JRE (1.7.0_15-b03), built on Feb 15 2013 14:01:25 by "java_re" with unknown MS VC++:1600 time: Thu Jul 11 04:46:21 2019 elapsed time: 37043 seconds
eclipse中用tomcat部署maven项目,运行报错,求解决思路?
tomcat中部署了maven项目,根据报错提示可能是因为maven所依赖的jar包没有加载进去导致tomcat启动报错。按照下图所示步骤添加不进去?请问该怎么办 ![图片说明](https://img-ask.csdn.net/upload/201902/24/1550983566_557306.png) --------以下是报错信息相关截图 ![图片说明](https://img-ask.csdn.net/upload/201902/24/1551015843_741802.png) 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/8.5.38 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Feb 5 2019 11:42:42 UTC 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 8.5.38.0 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 10 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 10.0 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: D:\Java\jdk1.8.0_171\jre 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.8.0_171-b11 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: H:\company\hqjc_web\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: H:\webservice\tomcat8\apache-tomcat-8.5.38-x64 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=H:\company\hqjc_web\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=H:\webservice\tomcat8\apache-tomcat-8.5.38-x64 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dwtp.deploy=H:\company\hqjc_web\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=H:\webservice\tomcat8\apache-tomcat-8.5.38-x64\endorsed 二月 24, 2019 9:42:44 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dfile.encoding=GBK 二月 24, 2019 9:42:44 下午 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_171\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/Program Files (x86)/Java/jdk1.8.0_73/bin/../jre/bin/client;D:/Program Files (x86)/Java/jdk1.8.0_73/bin/../jre/bin;D:/Program Files (x86)/Java/jdk1.8.0_73/bin/../jre/lib/i386;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\Java\jdk1.8.0_171\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.6\bin;D:\PROGRA~1\F-Secure\SSHTRI~1;H:\mongodb\bin;C:\Program Files (x86)\Common Files\Adobe\AGL;D:\ProgramFiles\VisualSVNServer\bin;D:\ProgramFiles\TortoiseSVN\bin;D:\ProgramFiles\Git\cmd;D:\ProgramFiles\nodejs\;C:\WINDOWS\System32\OpenSSH\;C:\Users\zch\AppData\Local\Microsoft\WindowsApps;C:\Users\zch\AppData\Local\GitHubDesktop\bin;D:\ProgramFiles\nodejs\node_global;C:\Users\zch\AppData\Local\Microsoft\WindowsApps;;D:\workide\eclipse;;.] 二月 24, 2019 9:42:44 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-nio-8080"] 二月 24, 2019 9:42:46 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 信息: Using a shared selector for servlet write/read 二月 24, 2019 9:42:46 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-nio-8009"] 二月 24, 2019 9:42:46 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 信息: Using a shared selector for servlet write/read 二月 24, 2019 9:42:46 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2913 ms 二月 24, 2019 9:42:46 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service [Catalina] 二月 24, 2019 9:42:46 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.5.38 二月 24, 2019 9:42:47 下午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ... 6 more Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:109) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:68) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:772) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185) ... 19 more 二月 24, 2019 9:42:47 下午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Catalina.start(Catalina.java:688) 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.catalina.startup.Bootstrap.start(Bootstrap.java:353) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) ... 8 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ... 6 more Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:109) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:68) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:772) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185) ... 19 more 二月 24, 2019 9:42:47 下午 org.apache.catalina.startup.Catalina start 严重: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.startup.Catalina.start(Catalina.java:688) 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.catalina.startup.Bootstrap.start(Bootstrap.java:353) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 7 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 9 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) ... 13 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942) ... 8 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ... 6 more Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:109) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:68) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:772) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185) ... 19 more 二月 24, 2019 9:42:47 下午 org.apache.coyote.AbstractProtocol pause 信息: Pausing ProtocolHandler ["http-nio-8080"] 二月 24, 2019 9:42:47 下午 org.apache.coyote.AbstractProtocol pause 信息: Pausing ProtocolHandler ["ajp-nio-8009"] 二月 24, 2019 9:42:47 下午 org.apache.catalina.core.StandardService stopInternal 信息: Stopping service [Catalina] 二月 24, 2019 9:42:47 下午 org.apache.coyote.AbstractProtocol destroy 信息: Destroying ProtocolHandler ["http-nio-8080"] 二月 24, 2019 9:42:47 下午 org.apache.coyote.AbstractProtocol destroy 信息: Destroying ProtocolHandler ["ajp-nio-8009"]
在中国程序员是青春饭吗?
今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...
《MySQL 性能优化》之理解 MySQL 体系结构
本文介绍 MySQL 的体系结构,包括物理结构、逻辑结构以及插件式存储引擎。
【资源】一个C/C++开发工程师的学习路线(已经无路可退,唯有逆风飞翔)【内附资源页】
声明: 1)该文章整理自网上的大牛和专家无私奉献的资料,具体引用的资料请看参考文献。 2)本文仅供学术交流,非商用。所以每一部分具体的参考资料并没有详细对应。如果某部分不小心侵犯了大家的利益,还望海涵,并联系博主删除。 3)博主才疏学浅,文中如有不当之处,请各位指出,共同进步,谢谢。 4)此属于第一版本,若有错误,还需继续修正与增删。还望大家多多指点。大家都共享一点点,一起为祖国科研的推进...
程序员请照顾好自己,周末病魔差点一套带走我。
程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。
20道你必须要背会的微服务面试题,面试一定会被问到
写在前面: 在学习springcloud之前大家一定要先了解下,常见的面试题有那块,然后我们带着问题去学习这个微服务技术,那么就会更加理解springcloud技术。如果你已经学了springcloud,那么在准备面试的时候,一定要看看看这些面试题。 文章目录1、什么是微服务?2、微服务之间是如何通讯的?3、springcloud 与dubbo有哪些区别?4、请谈谈对SpringBoot 和S...
达摩院十大科技趋势发布:2020 非同小可!
【CSDN编者按】1月2日,阿里巴巴发布《达摩院2020十大科技趋势》,十大科技趋势分别是:人工智能从感知智能向认知智能演进;计算存储一体化突破AI算力瓶颈;工业互联网的超融合;机器间大规模协作成为可能;模块化降低芯片设计门槛;规模化生产级区块链应用将走入大众;量子计算进入攻坚期;新材料推动半导体器件革新;保护数据隐私的AI技术将加速落地;云成为IT技术创新的中心 。 新的画卷,正在徐徐展开。...
轻松搭建基于 SpringBoot + Vue 的 Web 商城应用
首先介绍下在本文出现的几个比较重要的概念: 函数计算(Function Compute): 函数计算是一个事件驱动的服务,通过函数计算,用户无需管理服务器等运行情况,只需编写代码并上传。函数计算准备计算资源,并以弹性伸缩的方式运行用户代码,而用户只需根据实际代码运行所消耗的资源进行付费。Fun: Fun 是一个用于支持 Serverless 应用部署的工具,能帮助您便捷地管理函数计算、API ...
Python+OpenCV实时图像处理
目录 1、导入库文件 2、设计GUI 3、调用摄像头 4、实时图像处理 4.1、阈值二值化 4.2、边缘检测 4.3、轮廓检测 4.4、高斯滤波 4.5、色彩转换 4.6、调节对比度 5、退出系统 初学OpenCV图像处理的小伙伴肯定对什么高斯函数、滤波处理、阈值二值化等特性非常头疼,这里给各位分享一个小项目,可通过摄像头实时动态查看各类图像处理的特点,也可对各位调参、测试...
2020年一线城市程序员工资大调查
人才需求 一线城市共发布岗位38115个,招聘120827人。 其中 beijing 22805 guangzhou 25081 shanghai 39614 shenzhen 33327 工资分布 2020年中国一线城市程序员的平均工资为16285元,工资中位数为14583元,其中95%的人的工资位于5000到20000元之间。 和往年数据比较: yea...
为什么猝死的都是程序员,基本上不见产品经理猝死呢?
相信大家时不时听到程序员猝死的消息,但是基本上听不到产品经理猝死的消息,这是为什么呢? 我们先百度搜一下:程序员猝死,出现将近700多万条搜索结果: 搜索一下:产品经理猝死,只有400万条的搜索结果,从搜索结果数量上来看,程序员猝死的搜索结果就比产品经理猝死的搜索结果高了一倍,而且从下图可以看到,首页里面的五条搜索结果,其实只有两条才是符合条件。 所以程序员猝死的概率真的比产品经理大,并不是错...
害怕面试被问HashMap?这一篇就搞定了!
声明:本文以jdk1.8为主! 搞定HashMap 作为一个Java从业者,面试的时候肯定会被问到过HashMap,因为对于HashMap来说,可以说是Java集合中的精髓了,如果你觉得自己对它掌握的还不够好,我想今天这篇文章会非常适合你,至少,看了今天这篇文章,以后不怕面试被问HashMap了 其实在我学习HashMap的过程中,我个人觉得HashMap还是挺复杂的,如果真的想把它搞得明明白...
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
我问了身边10个大佬,总结了他们的学习方法,原来成功都是有迹可循的。
python爬取百部电影数据,我分析出了一个残酷的真相
2019年就这么匆匆过去了,就在前几天国家电影局发布了2019年中国电影市场数据,数据显示去年总票房为642.66亿元,同比增长5.4%;国产电影总票房411.75亿元,同比增长8.65%,市场占比 64.07%;城市院线观影人次17.27亿,同比增长0.64%。 看上去似乎是一片大好对不对?不过作为一名严谨求实的数据分析师,我从官方数据中看出了一点端倪:国产票房增幅都已经高达8.65%了,为什...
推荐10个堪称神器的学习网站
每天都会收到很多读者的私信,问我:“二哥,有什么推荐的学习网站吗?最近很浮躁,手头的一些网站都看烦了,想看看二哥这里有什么新鲜货。” 今天一早做了个恶梦,梦到被老板辞退了。虽然说在我们公司,只有我辞退老板的份,没有老板辞退我这一说,但是还是被吓得 4 点多都起来了。(主要是因为我掌握着公司所有的核心源码,哈哈哈) 既然 4 点多起来,就得好好利用起来。于是我就挑选了 10 个堪称神器的学习网站,推...
这些软件太强了,Windows必装!尤其程序员!
Windows可谓是大多数人的生产力工具,集娱乐办公于一体,虽然在程序员这个群体中都说苹果是信仰,但是大部分不都是从Windows过来的,而且现在依然有很多的程序员用Windows。 所以,今天我就把我私藏的Windows必装的软件分享给大家,如果有一个你没有用过甚至没有听过,那你就赚了????,这可都是提升你幸福感的高效率生产力工具哦! 走起!???? NO、1 ScreenToGif 屏幕,摄像头和白板...
阿里面试,面试官没想到一个ArrayList,我都能跟他扯半小时
我是真的没想到,面试官会这样问我ArrayList。
曾经优秀的人,怎么就突然不优秀了。
职场上有很多辛酸事,很多合伙人出局的故事,很多技术骨干被裁员的故事。说来模板都类似,曾经是名校毕业,曾经是优秀员工,曾经被领导表扬,曾经业绩突出,然而突然有一天,因为种种原因,被裁员了,...
大学四年因为知道了这32个网站,我成了别人眼中的大神!
依稀记得,毕业那天,我们导员发给我毕业证的时候对我说“你可是咱们系的风云人物啊”,哎呀,别提当时多开心啦????,嗯,我们导员是所有导员中最帅的一个,真的???? 不过,导员说的是实话,很多人都叫我大神的,为啥,因为我知道这32个网站啊,你说强不强????,这次是绝对的干货,看好啦,走起来! PS:每个网站都是学计算机混互联网必须知道的,真的牛杯,我就不过多介绍了,大家自行探索,觉得没用的,尽管留言吐槽吧???? 社...
良心推荐,我珍藏的一些Chrome插件
上次搬家的时候,发了一个朋友圈,附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多,于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。 我下面就把我日常工作和学习中经常用到的一些 Chrome 浏览器插件分享给大家,随便一个都能提高你的“生活品质”和工作效率。 Markdown Here Markdown Here 可以让你更愉快的写邮件,由于支持 Markdown 直接转电子邮...
看完这篇HTTP,跟面试官扯皮就没问题了
我是一名程序员,我的主要编程语言是 Java,我更是一名 Web 开发人员,所以我必须要了解 HTTP,所以本篇文章就来带你从 HTTP 入门到进阶,看完让你有一种恍然大悟、醍醐灌顶的感觉。 最初在有网络之前,我们的电脑都是单机的,单机系统是孤立的,我还记得 05 年前那会儿家里有个电脑,想打电脑游戏还得两个人在一个电脑上玩儿,及其不方便。我就想为什么家里人不让上网,我的同学 xxx 家里有网,每...
2020 年,大火的 Python 和 JavaScript 是否会被取而代之?
Python 和 JavaScript 是目前最火的两大编程语言,但是2020 年,什么编程语言将会取而代之呢? 作者 |Richard Kenneth Eng 译者 |明明如月,责编 | 郭芮 出品 | CSDN(ID:CSDNnews) 以下为译文: Python 和 JavaScript 是目前最火的两大编程语言。然而,他们不可能永远屹立不倒。最终,必将像其他编程语言一...
史上最全的IDEA快捷键总结
现在Idea成了主流开发工具,这篇博客对其使用的快捷键做了总结,希望对大家的开发工作有所帮助。
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
谁是华为扫地僧?
是的,华为也有扫地僧!2020年2月11-12日,“养在深闺人不知”的华为2012实验室扫地僧们,将在华为开发者大会2020(Cloud)上,和大家见面。到时,你可以和扫地僧们,吃一个洋...
AI 没让人类失业,搞 AI 的人先失业了
最近和几个 AI 领域的大佬闲聊 根据他们讲的消息和段子 改编出下面这个故事 如有雷同 都是巧合 1. 老王创业失败,被限制高消费 “这里写我跑路的消息实在太夸张了。” 王葱葱哼笑一下,把消息分享给群里。 阿杰也看了消息,笑了笑。在座几位也都笑了。 王葱葱是个有名的人物,21岁那年以全额奖学金进入 KMU 攻读人工智能博士,累计发表论文 40 余篇,个人技术博客更是成为深度学习领域内风向标。 ...
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆每天早上8:30推送 作者|Mr.K 编辑| Emma 来源|技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯...
神级宝库!GitHub 标星 1.2w+,Chrome 最天秀的插件都在这里啦!
作者 | Rocky0429 来源 | Python空间 大家好,我是 Rocky0429,一个沉迷 Chrome 不能自拔的蒟蒻… 作为一个在远古时代用过什么 IE、360、猎豹等浏览器的资深器哥,当我第一次了解 Chrome 的时候,就被它的美貌给吸引住了… 就在我用了一段时间之后,我坚决的卸载了电脑上其它碍眼的浏览器,并觉得在之前的搬砖生涯中,我不配当哥,我只配是个沙雕… ...
作为一名大学生,如何在B站上快乐的学习?
B站是个宝,谁用谁知道???? 作为一名大学生,你必须掌握的一项能力就是自学能力,很多看起来很牛X的人,你可以了解下,人家私底下一定是花大量的时间自学的,你可能会说,我也想学习啊,可是嘞,该学习啥嘞,不怕告诉你,互联网时代,最不缺的就是学习资源,最宝贵的是啥? 你可能会说是时间,不,不是时间,而是你的注意力,懂了吧! 那么,你说学习资源多,我咋不知道,那今天我就告诉你一个你必须知道的学习的地方,人称...
那些年,我们信了课本里的那些鬼话
教材永远都是有错误的,从小学到大学,我们不断的学习了很多错误知识。 斑羚飞渡 在我们学习的很多小学课文里,有很多是错误文章,或者说是假课文。像《斑羚飞渡》: 随着镰刀头羊的那声吼叫,整个斑羚群迅速分成两拨,老年斑羚为一拨,年轻斑羚为一拨。 就在这时,我看见,从那拨老斑羚里走出一只公斑羚来。公斑羚朝那拨年轻斑羚示意性地咩了一声,一只半大的斑羚应声走了出来。一老一少走到伤心崖,后退了几步,突...
张朝阳回应迟到 1 分钟罚 500:资本家就得剥削员工
loonggg读完需要2分钟速读仅需 1 分钟大家我,我是你们的校长。前几天,搜狐的董事局主席兼 CEO 张朝阳和搜狐都上热搜了。原因很简单,就是搜狐出了“考勤新规”。一封搜狐对员工发布...
立即提问