tomcat 启动报错,这个问题怎么处理? 10C

2016-10-30 20:33:06,746 localhost-startStop-1 WARN Could not instantiate FastDateFormat with pattern YYYY-MM-dd HH:mm:ss java.lang.IllegalArgumentException: Illegal pattern component: YYYY
at org.apache.logging.log4j.core.util.datetime.FastDatePrinter.parsePattern(FastDatePrinter.java:267)
at org.apache.logging.log4j.core.util.datetime.FastDatePrinter.init(FastDatePrinter.java:124)
at org.apache.logging.log4j.core.util.datetime.FastDatePrinter.(FastDatePrinter.java:115)
at org.apache.logging.log4j.core.util.datetime.FastDateFormat.(FastDateFormat.java:100)
at org.apache.logging.log4j.core.util.datetime.FastDateFormat.(FastDateFormat.java:81)
at org.apache.logging.log4j.core.util.datetime.FastDateFormat$1.createInstance(FastDateFormat.java:61)
at org.apache.logging.log4j.core.util.datetime.FastDateFormat$1.createInstance(FastDateFormat.java:58)
at org.apache.logging.log4j.core.util.datetime.FormatCache.getInstance(FormatCache.java:82)
at org.apache.logging.log4j.core.util.datetime.FastDateFormat.getInstance(FastDateFormat.java:140)
at org.apache.logging.log4j.core.pattern.DatePatternConverter.createNonFixedFormatter(DatePatternConverter.java:221)
at org.apache.logging.log4j.core.pattern.DatePatternConverter.createFormatter(DatePatternConverter.java:179)
at org.apache.logging.log4j.core.pattern.DatePatternConverter.(DatePatternConverter.java:170)
at org.apache.logging.log4j.core.pattern.DatePatternConverter.newInstance(DatePatternConverter.java:189)
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.logging.log4j.core.pattern.PatternParser.createConverter(PatternParser.java:549)
at org.apache.logging.log4j.core.pattern.PatternParser.finalizeConverter(PatternParser.java:602)
at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:386)
at org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:171)
at org.apache.logging.log4j.core.layout.PatternLayout.createSerializer(PatternLayout.java:124)
at org.apache.logging.log4j.core.layout.PatternLayout.(PatternLayout.java:111)
at org.apache.logging.log4j.core.layout.PatternLayout.(PatternLayout.java:58)
at org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:494)
at org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:405)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:942)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:882)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:874)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:874)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:498)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:227)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:239)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:530)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:603)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:226)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:242)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:174)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:618)
at org.jboss.logging.Log4j2Logger.(Log4j2Logger.java:36)
at org.jboss.logging.Log4j2LoggerProvider.getLogger(Log4j2LoggerProvider.java:30)
at org.jboss.logging.Log4j2LoggerProvider.getLogger(Log4j2LoggerProvider.java:26)
at org.jboss.logging.LoggerProviders.logProvider(LoggerProviders.java:156)
at org.jboss.logging.LoggerProviders.tryLog4j2(LoggerProviders.java:129)
at org.jboss.logging.LoggerProviders.findProvider(LoggerProviders.java:91)
at org.jboss.logging.LoggerProviders.find(LoggerProviders.java:34)
at org.jboss.logging.LoggerProviders.(LoggerProviders.java:31)
at org.jboss.logging.Logger.getLogger(Logger.java:2465)
at org.jboss.logging.Logger$1.run(Logger.java:2565)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2529)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2516)
at org.hibernate.internal.CoreLogging.messageLogger(CoreLogging.java:28)
at org.hibernate.internal.CoreLogging.messageLogger(CoreLogging.java:24)
at org.hibernate.cfg.Configuration.(Configuration.java:85)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:389)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
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 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4717)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

4个回答

YYYY改成小写yyyy试试,

根据报错可以看出是log4j报错。
异常为:无效参数异常。
在项目中找到log4j的配置文件
log4j1的配置文件是:log4j.properties
log4j2的配置文件是:log4j2.xml

将配置文件中的时间格式YYYY修改为yyyy后,重新启动tomcat,看是否解决问题。

在你的log4j.配置文件中找一下有没有 YYYY-MM-dd HH:mm:ss
然后把YYYY改成yyyy

这个问题我还真遇到过,最快的解决方式是:把static SimpleDateFormat sf = new SimpleDateFormat("YMMdH");放到方法里。
问题原因:可能和JDK版本有关。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
maven项目打包发布到本地tomcat 启动报错

[ERROR] [2017-12-28 14:42:39][org.springframework.web.context.ContextLoader]Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hotelDao' defined in file [C:\apache-tomcat-7.0.52\webapps\4G\WEB-INF\classes\spring-dao.xml]: Cannot resolve reference to bean 'datastore' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datastore' defined in file [C:\apache-tomcat-7.0.52\webapps\4G\WEB-INF\classes\spring-morphia.xml]: Cannot resolve reference to bean 'morphia' while setting bean property 'morphia'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'morphia' defined in file [C:\apache-tomcat-7.0.52\webapps\4G\WEB-INF\classes\spring-morphia.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class

tomcat启动报错啊,不知道哪里的错误。。

有哪位大神知道吗 ``` 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/llsfw-web]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.UnsupportedClassVersionError: org/apache/logging/log4j/web/Log4jServletContainerInitializer : Unsupported major.minor version 51.0 (unable to load class org.apache.logging.log4j.web.Log4jServletContainerInitializer) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2961) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.apache.catalina.startup.WebappServiceLoader.loadServices(WebappServiceLoader.java:187) at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:152) at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1577) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more 2016-3-2 13:01:01 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory G:\apache-tomcat-7.0.59\webapps\llsfw-web java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/llsfw-web]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) ```

TOMCAT启动网页报错502,有人知道怎么处理吗

[18:46:45] PWD => /alidata 31># ps -ef|grep tomcat root 31749 1 99 18:46 pts/0 00:00:55 /alidata/FineBI/jre/bin/java -server -Dinstall4j.jvmDir=/alidata/FineBI/jre -Dexe4j.moduleName=/alidata/FineBI/FineBI -Dinstall4j.launcherId=769 -Dinstall4j.swt=false -Di4jv=0 -Di4jv=0 -Di4jv=0 -Di4jv=0 -Di4jv=0 -Xmx12G -Dfile.encoding=UTF-8 -Djava.io.tmpdir=./temp -classpath /alidata/FineBI/.install4j/i4jruntime.jar:/alidata/FineBI/lib/annotations-api.jar:/alidata/FineBI/lib/bilistener.jar:/alidata/FineBI/lib/bootstrap.jar:/alidata/FineBI/lib/catalina-ant.jar:/alidata/FineBI/lib/catalina-ha.jar:/alidata/FineBI/lib/catalina.jar:/alidata/FineBI/lib/catalina-tribes.jar:/alidata/FineBI/lib/commons-daemon.jar:/alidata/FineBI/lib/ecj-4.6.3.jar:/alidata/FineBI/lib/el-api.jar:/alidata/FineBI/lib/jasper-el.jar:/alidata/FineBI/lib/jasper.jar:/alidata/FineBI/lib/jsp-api.jar:/alidata/FineBI/lib/servlet-api.jar:/alidata/FineBI/lib/tomcat-api.jar:/alidata/FineBI/lib/tomcat-coyote.jar:/alidata/FineBI/lib/tomcat-dbcp.jar:/alidata/FineBI/lib/tomcat-i18n-es.jar:/alidata/FineBI/lib/tomcat-i18n-fr.jar:/alidata/FineBI/lib/tomcat-i18n-ja.jar:/alidata/FineBI/lib/tomcat-juli.jar:/alidata/FineBI/lib/tomcat-util.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/db2jcc4.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/db2jcc_license_cu.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fineio.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fluent-hc-4.3.1.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-bi-server-4.1.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-chart-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-core-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-datasource-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-performance-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-platform-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-report-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-slf4j-frlog4j-1.7.2.25.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/fr-third-9.0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/h2-1.4.192.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/jtds-1.2.2.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/mysql-connector-java-5.1.44-bin.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/ojdbc6.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/plugin-FineDirect-0.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/sqlite-jdbc.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/sqljdbc42.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/sybase.jar:/alidata/FineBI/webapps/WebReport/WEB-INF/lib/zookeeper-3.4.6.jar com.install4j.runtime.launcher.UnixLauncher launch a44b00a6 /alidata/FineBI/error.log+ /alidata/FineBI/output.log+ com.fr.bi.start.FineBIForLinux root 31907 30812 0 18:47 pts/0 00:00:00 grep tomcat

等。。。。急。。。tomcat启动报错

信息: validateJarFile(E:\briup\servlet\apache-tomcat-7.0.57\webapps\jiuye\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class 四月 14, 2017 4:17:15 下午 org.apache.tomcat.util.digester.Digester fatalError 严重: Parse Fatal Error at line 7 column 3: 文档中根元素后面的标记必须格式正确。 org.xml.sax.SAXParseException; systemId: jndi:/localhost/jiuye/WEB-INF/web.xml; lineNumber: 7; columnNumber: 3; 文档中根元素后面的标记必须格式正确。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1825) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1263) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig parseWebXml 严重: Parse error in application web.xml file at jndi:/localhost/jiuye/WEB-INF/web.xml org.xml.sax.SAXParseException; systemId: jndi:/localhost/jiuye/WEB-INF/web.xml; lineNumber: 7; columnNumber: 3; 文档中根元素后面的标记必须格式正确。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1825) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1263) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig parseWebXml 严重: Occurred at line 7 column 3 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig configureStart 严重: Marking this application unavailable due to previous error(s) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.fckeditor.net is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://www.springframework.org/tags is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error getConfigured 四月 14, 2017 4:17:15 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [129] milliseconds. 四月 14, 2017 4:17:15 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/jiuye] startup failed due to previous errors 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\docs 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\docs has finished in 293 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\examples 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6b52df69') 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\examples has finished in 627 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\host-manager 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\host-manager has finished in 82 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\manager 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\manager has finished in 75 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\ROOT 四月 14, 2017 4:17:17 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\ROOT has finished in 55 ms 四月 14, 2017 4:17:17 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8082"] 四月 14, 2017 4:17:17 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 四月 14, 2017 4:17:17 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 3790 ms

Tomcat启动报错怎么解决:在线等急!!!大神处理下

20-Nov-2017 15:09:03.755 严重 [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Cs]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:621) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1835) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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 [org.apache.catalina.webresources.StandardRoot@32db4254] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4969) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5099) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ... 10 more Caused by: java.lang.IllegalArgumentException: The main resource set specified [D:\致远\apache-tomcat-8.0.45\wtpwebapps\Cs] is not valid at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:731) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:689) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ... 13 more 20-Nov-2017 15:09:03.757 严重 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor D:\zhiyuan\apache-tomcat-8.0.45\conf\Catalina\localhost\Cs.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Cs]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:621) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1835) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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)

tomcat启动报错l ,有人知道是哪里的问题吗

这是怎么回事啊 ``` SEVERE: Unable to process Jar entry [com/mysql/jdbc/LicenseConfiguration.class] from Jar [jar:file:/E:/srpingquartz-demo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/spring-quartz-demo/WEB-INF/lib/mysql-connector-java-5.1.25.jar!/] for annotations java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(Unknown Source) at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Unknown Source) at java.util.zip.InflaterInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.DataInputStream.readInt(Unknown Source) at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:202) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:80) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2089) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1965) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1931) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1916) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ```

ssh整合后启动tomcat报错

十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Server version: Apache Tomcat/7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Feb 8 2016 20:25:54 UTC 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Server number: 7.0.68.0 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: OS Name: Windows 8 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: OS Version: 6.2 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Architecture: x86 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Java Home: C:\Program Files (x86)\Java\jdk1.7.0_10\jre 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Version: 1.7.0_10-b18 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Vendor: Oracle Corporation 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_BASE: D:\jsp\apache-tomcat-7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_HOME: D:\jsp\apache-tomcat-7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:49346 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.home=D:\jsp\apache-tomcat-7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.base=D:\jsp\apache-tomcat-7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.endorsed.dirs=D:\jsp\apache-tomcat-7.0.68/common/endorsed 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.io.tmpdir=D:\jsp\apache-tomcat-7.0.68\temp 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.library.path=C:\Program Files (x86)\Java\jdk1.7.0_10\bin;D:\jsp\apache-tomcat-7.0.68\bin 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dsun.io.useCanonCaches=false 十月 05, 2016 1:45:16 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: 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 (x86)\Java\jdk1.7.0_10\bin;D:\jsp\apache-tomcat-7.0.68\bin 十月 05, 2016 1:45:16 上午 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] 十月 05, 2016 1:45:16 上午 org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 594 ms 十月 05, 2016 1:45:16 上午 org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 十月 05, 2016 1:45:16 上午 org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.68 十月 05, 2016 1:45:16 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\docs 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\docs has finished in 379 ms 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\examples 十月 05, 2016 1:45:17 上午 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 十月 05, 2016 1:45:17 上午 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 十月 05, 2016 1:45:17 上午 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@15edea8') 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\examples has finished in 455 ms 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\host-manager 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\host-manager has finished in 90 ms 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\manager 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\manager has finished in 92 ms 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\ROOT 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\ROOT has finished in 91 ms 十月 05, 2016 1:45:17 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory D:\jsp\apache-tomcat-7.0.68\webapps\StudentManger 十月 05, 2016 1:45:21 上午 org.apache.catalina.startup.TldConfig execute INFO: 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. 十月 05, 2016 1:45:21 上午 org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath 十月 05, 2016 1:45:21 上午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 十月 05, 2016 1:45:21 上午 org.springframework.web.context.ContextLoader initWebApplicationContext INFO: Root WebApplicationContext: initialization started 十月 05, 2016 1:45:22 上午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh INFO: Refreshing Root WebApplicationContext: startup date [Wed Oct 05 01:45:22 CST 2016]; root of context hierarchy 十月 05, 2016 1:45:22 上午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [applicationContext.xml] 十月 05, 2016 1:45:22 上午 org.springframework.context.support.PropertySourcesPlaceholderConfigurer loadProperties INFO: Loading properties file from ServletContext resource [/db.properties] 十月 05, 2016 1:45:22 上午 org.springframework.web.context.ContextLoader initWebApplicationContext SEVERE: Context initialization failed org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/db.properties] at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:151) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/db.properties] at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:141) at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:143) at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:98) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:175) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:156) at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:142) ... 21 more 十月 05, 2016 1:45:22 上午 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/db.properties] at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:151) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/db.properties] at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:141) at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:143) at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:98) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:175) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:156) at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:142) ... 21 more 十月 05, 2016 1:45:22 上午 com.sun.faces.config.ConfigureListener contextInitialized INFO: 初始化上下文 '/StudentManger' 的 Mojarra 2.0.3 (FCS b03) 十月 05, 2016 1:45:23 上午 com.sun.faces.spi.InjectionProviderFactory createInstance INFO: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 十月 05, 2016 1:45:24 上午 org.apache.catalina.core.StandardContext startInternal SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file 十月 05, 2016 1:45:24 上午 org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/StudentManger] startup failed due to previous errors 十月 05, 2016 1:45:24 上午 org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext 十月 05, 2016 1:45:24 上午 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks SEVERE: The web application [/StudentManger] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@a5df88]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 十月 05, 2016 1:45:24 上午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory D:\jsp\apache-tomcat-7.0.68\webapps\StudentManger has finished in 6,222 ms 十月 05, 2016 1:45:24 上午 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] 十月 05, 2016 1:45:24 上午 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] 十月 05, 2016 1:45:24 上午 org.apache.catalina.startup.Catalina start INFO: Server startup in 7394 ms

tomcat能运行但是一直报异常

学到jsp,tomcat报错,![图片说明](https://img-ask.csdn.net/upload/201705/26/1495811980_247242.png)但是可以运行,环境变量确认了没问题.不知道什么原因,怎么解决. 哪位大神指点指点.自学的,遇到问题解决不了.先谢谢了.

启动tomcat 7 报错。。。

七月 21, 2016 3:42:29 下午 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/mis' 的 Mojarra 2.0.3 (FCS b03) 七月 21, 2016 3:42:38 下午 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 七月 21, 2016 3:42:39 下午 com.sun.faces.config.ConfigureListener installExpressionFactory 严重: Unable to instantiate ExpressionFactory 'com.sun.el.ExpressionFactoryImpl' 七月 21, 2016 3:42:39 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener com.sun.faces.config.ConfigurationException: 容器的 JSP 版本似乎小于 2.1,无法找到 EL RI 表达式工厂 com.sun.el.ExpressionFactoryImpl。如果不使用 JSP 或 EL RI,请确保上下文初始化参数 com.sun.faces.expressionFactory 已正确设置。 at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:639) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:238) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4521) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5004) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:4999) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 七月 21, 2016 3:42:39 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 七月 21, 2016 3:42:39 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/mis] startup failed due to previous errors 七月 21, 2016 3:42:39 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory ROOT 七月 21, 2016 3:42:39 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory Web 七月 21, 2016 3:42:39 下午 org.apache.coyote.AbstractProtocolHandler start 信息: Starting ProtocolHandler ["http-bio-8080"] 七月 21, 2016 3:42:39 下午 org.apache.coyote.AbstractProtocolHandler start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 七月 21, 2016 3:42:39 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 78431 ms

tomcat启动之后出现这个问题

严重: Error configuring application listener of class com.thinkgem.jeesite.modules.sys.listener.WebContextListener java.lang.ClassNotFoundException: com.thinkgem.jeesite.modules.sys.listener.WebContextListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1009) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:985) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:2002) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

idea上的spring boot项目,在idea中可以正常运行.但是打成war包后在外部tomcat上运行报错?

idea上的spring boot项目,在idea中可以正常运行.但是打成war包后在外部tomcat上运行报错 ![图片说明](https://img-ask.csdn.net/upload/202003/05/1583412587_2763.jpg) 启动类已处理,但还是报错,这个问题怎么解决呢

dubbo发布到tomcat7之后无法访问,提示404,日志显示启动报错

发布在webapps目录下 ![图片说明](https://img-ask.csdn.net/upload/201705/26/1495762983_598664.png) 但访问报错 ![图片说明](https://img-ask.csdn.net/upload/201705/26/1495763091_616601.png) 8080可以正常访问,而且manager app下显示/dubbo的running状态为false ![图片说明](https://img-ask.csdn.net/upload/201705/26/1495763585_835885.png) 启动日志如下: May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCa che', 'org.apache.jasper.compiler.TldLocationsCache@5fdddbf6') May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing log4j system May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext May 26, 2017 1:10:47 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.alibaba.citrus.webx.context.WebxContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'uriBrokerService': Cannot create inner bean '(inner bean)' of type [com. alibaba.citrus.service.uribroker.impl.URIBrokerServiceImpl$URIBrokerInfo] while setting bean property 'brokers' with key [0]; nested exception is org.springfram ework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#25': Cannot create inner bean 'server' of type [com.alibaba.citrus.servic e.uribroker.uri.GenericURIBroker] while setting constructor argument; nested exc eption is org.springframework.beans.factory.BeanCreationException: Error creatin g bean with name 'server': Error setting property values; nested exception is or g.springframework.beans.NotWritablePropertyException: Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method. Does the pa rameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveManagedList(BeanDefinitionValueResolver.java:287) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(BeanDefinitionValueResolver.java:126) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) "localhost.2017-05-26.log" 362L, 43836C 1,1 Top May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() May 26, 2017 1:10:34 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@5fdddbf6') May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing log4j system May 26, 2017 1:10:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext May 26, 2017 1:10:47 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.alibaba.citrus.webx.context.WebxContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uriBrokerService': Cannot create inner bean '(inner bean)' of type [com.alibaba.citrus.service.uribroker.impl.URIBrokerServiceImpl$URIBrokerInfo] while setting bean property 'brokers' with key [0]; nested exception is or g.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#25': Cannot create inner bean 'server' of type [com.ali baba.citrus.service.uribroker.uri.GenericURIBroker] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreation Exception: Error creating bean with name 'server': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExcepti on: Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has a n invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) 求大神们帮忙看看什么情况 (zookeeper已经启动了)

CentOS tomcat部署war包,启动后报错

CentOS tomcat部署war包,启动后报错 下面是日志截图和服务器目录 ![图片说明](https://img-ask.csdn.net/upload/201709/09/1504968110_114808.png) ![图片说明](https://img-ask.csdn.net/upload/201709/09/1504968128_89280.png) 这种情况该怎么处理?

关于tomcat启动spring注入的时候报找到2个bean

我确定在自己的类中Service只有一个实现..但是bean不唯一的错..我现在也很迷茫..用的开发工具是IDEA 求教各位大神 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseInfoController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ljljob.p2p.core.base.service.ISystemDictionaryItemService com.ljljob.p2p.website.controller.BaseInfoController.systemDictionaryItemService; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [com.ljljob.p2p.core.base.service.ISystemDictionaryItemService] is defined: expected single matching bean but found 2: systemDictionaryItemServiceImpl,ISystemDictionaryItemService spring配置如下 <!--1:配置注解解析--> <context:annotation-config/> <context:component-scan base-package="com.ljljob.p2p"/> <!--2:加载外部资源--> <context:property-placeholder location="classpath:db.properties,classpath:sms.properties,classpath:email.properties"/> <!--3:配置dataSource--> <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource"> <property name="driverClassName" value="${jdbc.driverClassName}"/> <property name="url" value="${jdbc.url}"/> <property name="username" value="${jdbc.username}"/> <property name="password" value="${jdbc.password}"/> </bean> <!--4:配置sesssionFactory--> <bean id="sqlsessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource"/> <property name="configLocation" value="classpath:mybatis.cfg.xml"/> <property name="mapperLocations" value="classpath:com/ljljob/p2p/*/*/mapper/*Mapper.xml"/> <property name="typeAliasesPackage" value="com.ljljob.p2p"/> </bean> <!--5:配置事务管理器--> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource"/> </bean> <!--6:配置事务处理--> <tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes> <tx:method name="query*" read-only="true" propagation="SUPPORTS"/> <tx:method name="select*" read-only="true" propagation="SUPPORTS"/> <tx:method name="get*" read-only="true" propagation="SUPPORTS"/> <tx:method name="list*" read-only="true" propagation="SUPPORTS"/> <tx:method name="*" propagation="REQUIRED"/> </tx:attributes> </tx:advice> <!--7:配置AOP--> <aop:config> <aop:pointcut id="txPointCut" expression="execution(* com.ljljob.p2p..service.*.*(..))"/> <aop:advisor advice-ref="txAdvice" pointcut-ref="txPointCut"/> </aop:config> <!--配置mapper扫描器--> <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="basePackage" value="com.ljljob.p2p.core"/> </bean> </beans>

阿里云服务器tomcat启动无响应,怎么回事?

jdk装好了,tomcat启动无响应,也没有日志信息,求助..

Tomcat启动时报错了,严重: Error filterStart

Tomcat启动的时候报错了,严重:Error filterstart. 但是我去掉web.xml的所有filter的配置后,Tomcat启动正常。 详细信息:[code="java"] 2009-08-18 09:24:43,671 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] - Using ASTQueryTranslatorFactory 2009-08-18 09:24:43,687 INFO [org.hibernate.cfg.SettingsFactory] - Query languag e substitutions: {} 2009-08-18 09:24:43,687 INFO [org.hibernate.cfg.SettingsFactory] - JPA-QL strict compliance: disabled 2009-08-18 09:24:43,703 INFO [org.hibernate.cfg.SettingsFactory] - Second-level cache: enabled 2009-08-18 09:24:43,718 INFO [org.hibernate.cfg.SettingsFactory] - Query cache: disabled 2009-08-18 09:24:43,718 INFO [org.hibernate.cfg.SettingsFactory] - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 2009-08-18 09:24:43,734 INFO [org.hibernate.cfg.SettingsFactory] - Optimize cach e for minimal puts: disabled 2009-08-18 09:24:43,750 INFO [org.hibernate.cfg.SettingsFactory] - Structured se cond-level cache entries: disabled 2009-08-18 09:24:43,765 INFO [org.hibernate.cfg.SettingsFactory] - Echoing all S QL to stdout 2009-08-18 09:24:43,781 INFO [org.hibernate.cfg.SettingsFactory] - Statistics: d isabled 2009-08-18 09:24:43,781 INFO [org.hibernate.cfg.SettingsFactory] - Deleted entit y synthetic identifier rollback: disabled 2009-08-18 09:24:43,796 INFO [org.hibernate.cfg.SettingsFactory] - Default entit y-mode: pojo 2009-08-18 09:24:43,812 INFO [org.hibernate.cfg.SettingsFactory] - Named query c hecking : enabled 2009-08-18 09:24:43,890 INFO [org.hibernate.impl.SessionFactoryImpl] - building session factory 2009-08-18 09:24:44,468 INFO [org.hibernate.impl.SessionFactoryObjectFactory] - Not binding factory to JNDI, no JNDI name configured 2009-08-18 09:24:44,984 INFO [org.springframework.jdbc.datasource.DriverManagerD ataSource] - Loaded JDBC driver: com.microsoft.sqlserver.jdbc.SQLServerDriver 2009-08-18 09:24:45,390 INFO [org.springframework.web.context.ContextLoader] - R oot WebApplicationContext: initialization completed in 4656 ms 2009-8-18 9:24:45 org.apache.catalina.core.StandardContext start 严重: Error filterStart 2009-8-18 9:24:45 org.apache.catalina.core.StandardContext start 严重: Context startup failed due to previous errors 2009-08-18 09:24:45,937 INFO [org.springframework.web.context.support.XmlWebAppl icationContext] - Closing org.springframework.web.context.support.XmlWebApplicat ionContext@354749: display name [Root WebApplicationContext]; startup date [Tue Aug 18 09:24:40 CST 2009]; root of context hierarchy 2009-08-18 09:24:45,953 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - Destroying singletons in org.springframework.beans.factory .support.DefaultListableBeanFactory@12b19c5: defining beans [com.oa.co ntroller.service.LoginService,com.oa.controller.service.CreateCodeServ ice,com.oa.controller.service.LoginIbatisService,com.oa.cont roller.service.ModuleMangerService,com.oa.controller.service.UserServi ce,com.profplan.controller.service.CreateNewProfPlanService,com.whirlp ool.profplan.controller.service.GroupProfService,com.profplan.controll er.service.AccountCodeService,com.profplan.controller.service.CostCent erService,com.profplan.controller.service.ProfUserService,com.whirlpoo l.profplan.controller.service.AssignCostCenterService,com.profplan.con troller.service.FillInRecordService,com.profplan.controller.service.Fi llProfPlanService,com.profplan.controller.service.SearchProfPlanServic e,com.profplan.controller.service.MangeCostCenterService,sessionFactor y,transactionManager,txAdvice,org.springframework.aop.config.internalAutoProxyCr eator,allManagerMethod,org.springframework.aop.support.DefaultBeanFactoryPointcu tAdvisor#0,propertyConfig,dataSource,sqlMapClient,sqlMapClientTemplate,transacti onManagerIbatis,baseTransactionProxy]; root of factory hierarchy 2009-08-18 09:24:46,015 INFO [org.springframework.orm.hibernate3.LocalSessionFac toryBean] - Closing Hibernate SessionFactory 2009-08-18 09:24:46,031 INFO [org.hibernate.impl.SessionFactoryImpl] - closing 2009-08-18 09:24:46,031 INFO [org.hibernate.connection.DriverManagerConnectionPr ovider] - cleaning up connection pool: jdbc:microsoft:sqlserver://159.155.212.8: 1433 2009-8-18 9:24:46 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path from URL file:C:\Program Files \Apache Software Foundation\Tomcat 5.0\webapps\ROOT 2009-8-18 9:24:46 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /servlets-examples from URL fil e:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-exampl es[/code] web.xml这样配置的: [code="java"] <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:context/**/*.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <listener> <listener-class> org.springframework.web.util.IntrospectorCleanupListener </listener-class> </listener> <listener> <listener-class> core.view.listener.InitBeanFactoryListener <!-- com.conair.core.view.listener.InitBeanFactoryListener --> </listener-class> </listener> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> <filter> <filter-name>encodingFilter</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodingFilter </filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter> <filter-mapping> <filter-name>encodingFilter</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping> <filter-mapping> <filter-name>encodingFilter</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> </web-app> [/code] 这样在我myeclipse工程里运行正常,但是放到服务器上上时发生此问题。 顺便说下:我开发时候用的tomcat为5.5的。服务器上的为:5.0的,不知道这个有影响不? 刚测试。极有可能是tomcat版本的问题。但如何处理却不知道。

部署servlet后,启动tomcat失败

写了一个简单的servlet,部署到tomcat,在cmd中直接启动遇到报错,以下贴上三条我觉得可能比较重要的提示信息,求解,谢谢! 27-Feb-2016 22:25:10.849 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] -------------------------------------------------------------------- Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> null in servlet mapping ------------------------------------------------------------------------- 27-Feb-2016 22:25:10.852 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory C:\javawork\testservlet\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30\webapps\ROOT java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] --------------------------------------------- 另外,下面是我的web.xml文件配置: <servlet> <servlet-name>UseServlet</servlet-name> <servlet-class>UseServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>UseServlet</servlet-name> <servlet-pattern>/UseServlet</servlet-pattern> </servlet-mapping>

Myeclipse中启动Tomcat失败。

我的Myeclipse版本是8.6。 Tomcat版本是7.0。 今天在Myeclipse里启动Tomcat也没有报错,走到最下面那个地方就不动了。 ![图片说明](https://img-ask.csdn.net/upload/201509/13/1442132810_620174.png) 按照在网上找的解决办法,将server.xml文件中的端口号改成其他的 8088、8099....还是不行 又变成: 信息: Initializing ProtocolHandler ["http-apr-8088"]这种了。 我单独启tomcat是没有问题的,在Myeclipse里就是这种个情况,纠结了一下午了,求懂的解决方案的大神指导下小弟。 这是我Myeclipse中的tomcat: ![图片说明](https://img-ask.csdn.net/upload/201509/13/1442132830_932401.png) ![图片说明](https://img-ask.csdn.net/upload/201509/13/1442132790_775916.png) 这是我机器中tomcat的环境变量: ![图片说明](https://img-ask.csdn.net/upload/201509/13/1442132854_575251.png)![图片说明](https://img-ask.csdn.net/upload/201509/13/1442132813_921417.png)

tomcat项目报错,但是没找到具体错误,求大神指点。

运行其他项目没问题,但是ldj项目就不行![图片说明](https://img-ask.csdn.net/upload/201905/05/1557024838_169501.png) 错误如下: 严重: Error deploying web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\ldj] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:716) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) 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:350) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ldj]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713) ... 37 more Caused by: java.lang.IllegalArgumentException: 名为 [com.ldj.servlet.cookie.ex1.BookDetailServlet]和 [com.ldj.servlet.session.BookDetailServlet] 的servlet不能映射为一个url模式(url-pattern) [/BookDetailServlet] at org.apache.tomcat.util.descriptor.web.WebXml.addServletMappingDecoded(WebXml.java:342) at org.apache.tomcat.util.descriptor.web.WebXml.addServletMapping(WebXml.java:335) at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2453) at org.apache.catalina.startup.ContextConfig.processClass(ContextConfig.java:2129) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2118) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:2010) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:2004) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:2004) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:2004) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:2004) at org.apache.catalina.startup.ContextConfig.processClasses(ContextConfig.java:1227) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1136) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:768) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:301) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5048) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 38 more 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\ldj] has finished in [74] ms 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\manager] 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\manager] has finished in [30] ms 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\Mybank] 五月 05, 2019 10:24:52 上午 org.apache.jasper.servlet.TldScanner scanJars 信息: 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\Mybank] has finished in [351] ms 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\project0424_001_web] 五月 05, 2019 10:24:52 上午 org.apache.jasper.servlet.TldScanner scanJars 信息: 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\project0424_001_web] has finished in [325] ms 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\ROOT] 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory [E:\apache-tomcat-9.0.19-windows-x64\apache-tomcat-9.0.19\webapps\ROOT] has finished in [19] ms 五月 05, 2019 10:24:52 上午 org.apache.coyote.AbstractProtocol start 信息: 开始协议处理句柄["http-nio-8080"] 五月 05, 2019 10:24:52 上午 org.apache.coyote.AbstractProtocol start 信息: 开始协议处理句柄["ajp-nio-8009"] 五月 05, 2019 10:24:52 上午 org.apache.catalina.startup.Catalina start 信息: Server startup in [2,234] milliseconds

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

springboot+jwt实现token登陆权限认证

一 前言 此篇文章的内容也是学习不久,终于到周末有时间码一篇文章分享知识追寻者的粉丝们,学完本篇文章,读者将对token类的登陆认证流程有个全面的了解,可以动态搭建自己的登陆认证过程;对小项目而已是个轻量级的认证机制,符合开发需求;更多精彩原创内容关注公主号知识追寻者,读者的肯定,就是对作者的创作的最大支持; 二 jwt实现登陆认证流程 用户使用账号和面发出post请求 服务器接受到请求后使用私...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

程序员写出这样的代码,能不挨骂吗?

当你换槽填坑时,面对一个新的环境。能够快速熟练,上手实现业务需求是关键。但是,哪些因素会影响你快速上手呢?是原有代码写的不够好?还是注释写的不够好?昨夜...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

早上躺尸,晚上干活:硅谷科技公司这么流行迟到?

硅谷科技公司上班时间OPEN早已不是什么新鲜事,早九晚五是常态,但有很多企业由于不打卡,员工们10点、11点才“姗姗来迟”的情况也屡见不鲜。 这种灵活的考勤制度为人羡慕,甚至近年来,国内某些互联网企业也纷纷效仿。不过,硅谷普遍弹性的上班制度是怎么由来的呢?这种“流行性迟到”真的有那么轻松、悠哉吗? 《动态规划专题班》 课程试听内容: 动态规划的解题要领 动态规划三大类 求最值/计数/可行性 常...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

大胆预测下未来5年的Web开发

在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...

立即提问
相关内容推荐