activiti-app.war它没有在Tomcat8

时间:2016-12-05 22:05:10

标签: tomcat8

05-Dec-2016 20:55:23.842警告[localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor指定了docBase / usr / share / tomcat8 / webapps / activiti-app inseen,以及将被忽略 05-Dec-2016 20:55:44.749 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars至少有一个JAR被扫描用于尚未包含TLD的TLD。 Enablogger获取已扫描但未在其中找到TLD的JAR的完整列表。在扫描期间跳过不需要的JAR可以改善启动时间和JSP编译 08:55:50,685 [localhost-startStop-1] WARN org.springframework.core.io.support.PathMatchingResourcePatternResolver - 无法在URL /webapps/activiti-app.war*/WEB-INF/classes/com/下搜索匹配的文件activiti / conf /]因为它不对应于文件系统中的目录 java.io.FileNotFoundException:URL [war:file:/var/lib/tomcat8/webapps/activiti-app.war*/WEB-INF/classes/com/activiti/conf/]无法解析为绝对文件路径bin文件系统:war:file:/var/lib/tomcat8/webapps/activiti-app.war*/WEB-INF/classes/com/activiti/conf/         在org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:212)         在org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:52)         在org.springframework.core.io.UrlResource.getFile(UrlResource.java:212)         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:598)         在org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:92         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:419)         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:273)         在org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1159)         在org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java)         在org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)         在org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:140)         在org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:265)         在org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:229)         在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:196)         在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:165)         在org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:306)         at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239)         在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254)         在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94)         at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)         在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)         在com.activiti.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:85)         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)         在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)         在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)         在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)         在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)         在org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)         在org.apache.catalina.startup.HostConfig $ DeployDescriptor.run(HostConfig.java:1798)         at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)         在java.lang.Thread.run(Thread.java:745) 08:55:50,719 [localhost-startStop-1] WARN org.springframework.web.context.support.AnnotationConfigWebApplicationContext - 在上下文initiresh尝试期间遇到异常 org.springframework.beans.factory.BeanDefinitionStoreException:类路径扫描期间的I / O失败;嵌套异常是java.io.FileNotFoundException:JAR条目!/ ot在/var/cache/tomcat8/temp/jar_cache5590291403178717066.tmp中找到         在org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java)         在org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)         在org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:140)         在org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:265)         在org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:229)         在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:196)         在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:165)         在org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:306)         at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239)         在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254)         在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94)         at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)         在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)         在com.activiti.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:85)         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)         在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)         在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)         在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)         在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)         在org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)         在org.apache.catalina.startup.HostConfig $ DeployDescriptor.run(HostConfig.java:1798)         at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)         在java.lang.Thread.run(Thread.java:745) 引起:java.io.FileNotFoundException:JAR条目!/ com / activiti / repository / not found in /var/cache/tomcat8/temp/jar_cache5590291403178717066.tmp         在sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:142)         在sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMatchingResourcePatternResolver.java:509)         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:416)         在org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:273)         在org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1159)         在org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java)         ......还有26个 2016年12月5日20:55:50.720严重[localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal一个或多个侦听器无法启动。详细信息wilate容器日志文件

1 个答案:

答案 0 :(得分:0)

只需将activiti-explorer.war复制到tomcat的web apps目录,然后启动apache tomcat server。一旦开始,请转到http://localhost:8080/activiti-explorer(端口可能因tomcat的安装而异)