我已经看了这个问题,但我不知道如何解决它...许多答案谈到servlet配置错误,但没有说明如何修复它以及要更改什么。我的catalina日志文件看起来像这样:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/flowable-modeler]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1645)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1553)
at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:289)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bootstrapper': Unsatisfied dependency expressed through field 'decisionTableService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flowableDecisionTableService': Unsatisfied dependency expressed through field 'modelRepository'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modelRepositoryImpl': Unsatisfied dependency expressed through field 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'SqlSessionTemplate' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'SqlSessionTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:548)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5225)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 48 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flowableDecisionTableService': Unsatisfied dependency expressed through field 'modelRepository'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modelRepositoryImpl': Unsatisfied dependency expressed through field 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'SqlSessionTemplate' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'SqlSessionTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:581)
... 70 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modelRepositoryImpl': Unsatisfied dependency expressed through field 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'SqlSessionTemplate' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'SqlSessionTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:581)
... 83 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'SqlSessionTemplate' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'SqlSessionTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:733)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:475)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1246)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:581)
... 96 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1246)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:819)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:725)
... 109 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
... 122 more
Caused by: org.flowable.common.engine.api.FlowableException: couldn't deduct database type
at org.flowable.ui.modeler.conf.DatabaseConfiguration.sqlSessionFactory(DatabaseConfiguration.java:105)
at org.flowable.ui.modeler.conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85.CGLIB$sqlSessionFactory$3(<generated>)
at org.flowable.ui.modeler.conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85$$FastClassBySpringCGLIB$$ad2f42a2.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:365)
at org.flowable.ui.modeler.conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85.sqlSessionFactory(<generated>)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 123 more
2019年4月8日10:59:09.745严重[http-nio-8089-exec-22]组织。阿帕奇。卡塔琳娜。启动。主机配置。部署web应用程序存档时出错[C:\Users\Marina\Downloads\apache-tomcat-8.5.39\webapps\flowable modeler.war]java。lang.IllegalStateException:ContainerBase。addChild:start:org。阿帕奇。卡塔琳娜。LifecycleException:无法启动组件[StandardEngine[Catalina]。标准主机[本地主机]。组织上的StandardContext[/flowable modeler]]。阿帕奇。卡塔琳娜。果心集装箱基地。addChildInternal(ContainerBase.java:758)位于org。阿帕奇。卡塔琳娜。果心集装箱基地。addChild(ContainerBase.java:730)位于org。阿帕奇。卡塔琳娜。果心标准主机。addChild(StandardHost.java:734)位于org。阿帕奇。卡塔琳娜。启动。主机配置。在org上部署war(HostConfig.java:980)。阿帕奇。卡塔琳娜。启动。主机配置。在org上部署应用程序(HostConfig.java:502)。阿帕奇。卡塔琳娜。启动。主机配置。在java上检查(HostConfig.java:1645)。base/jdk。内部的反映NativeMethodAccessorImpl。在java上调用0(本机方法)。base/jdk。内部的反映NativeMethodAccessorImpl。在java上调用(NativeMethodAccessorImpl.java:62)。base/jdk。内部的反映DelegatingMethodAccessorImpl。在java上调用(DelegatingMethodAccessorImpl.java:43)。base/java。朗。反思。方法在org调用(Method.java:566)。阿帕奇。公猫util。建模师。BaseModelMBean。在java上调用(BaseModelMBean.java:287)。管理/通讯。太阳jmx。拦截器。DefaultMBeanServerInterceptor。在java上调用(DefaultMBeanServerInterceptor.java:809)。管理/通讯。太阳jmx。mbeanserver。JmxMBeanServer。在org调用(JmxMBeanServer.java:801)。阿帕奇。卡塔琳娜。经理ManagerServlet。在org上查看(ManagerServlet.java:1553)。阿帕奇。卡塔琳娜。经理HTMLManagerServlet。上传(HTMLManagerServlet.java:289)到org。阿帕奇。卡塔琳娜。经理HTMLManagerServlet。javax上的doPost(HTMLManagerServlet.java:207)。servlet。http。HttpServlet。javax上的服务(HttpServlet.java:661)。servlet。http。HttpServlet。服务(HttpServlet.java:742)位于org。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。org上的internalDoFilter(ApplicationFilterChain.java:231)。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。doFilter(ApplicationFilterChain.java:166)位于org。阿帕奇。卡塔琳娜。过滤器。CsrfPreventionFilter。doFilter(CsrfPreventionFilter.java:136)位于org。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。org上的internalDoFilter(ApplicationFilterChain.java:193)。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。doFilter(ApplicationFilterChain.java:166)位于org。阿帕奇。公猫websocket。服务器WsFilter。doFilter(WsFilter.java:52)位于org。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。org上的internalDoFilter(ApplicationFilterChain.java:193)。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。doFilter(ApplicationFilterChain.java:166)位于org。阿帕奇。卡塔琳娜。过滤器。SetCharacterEncodingFilter。doFilter(SetCharacterEncodingFilter.java:109)位于org。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。org上的internalDoFilter(ApplicationFilterChain.java:193)。阿帕奇。卡塔琳娜。果心ApplicationFilterChain。doFilter(ApplicationFilterChain.java:166)位于org。阿帕奇。卡塔琳娜。果心标准包装阀。在org上调用(StandardWrapperValve.java:199)。阿帕奇。卡塔琳娜。果心标准连接阀。在org上调用(StandardContextValve.java:96)。阿帕奇。卡塔琳娜。验证者。AuthenticatorBase。在org调用(AuthenticatorBase.java:610)。阿帕奇。卡塔琳娜。阀门。请求过滤阀。在org上处理(RequestFilterValve.java:348)。阿帕奇。卡塔琳娜。阀门。RemoteAddrValve。在org调用(RemoteAddrValve.java:52)。阿帕奇。卡塔琳娜。果心标准阀门。在org上调用(StandardHostValve.java:137)。阿帕奇。卡塔琳娜。阀门。错误报告阀。在org调用(ErrorReportValve.java:81)。阿帕奇。卡塔琳娜。阀门。抽象逻辑阀。在org上调用(AbstractAccessLogValve.java:660)。阿帕奇。卡塔琳娜。果心标准引擎版本。在组织中调用(StandardEngineValve.java:87)。阿帕奇。卡塔琳娜。连接器。郊狼适应者。服务(CoyoteAdapter.java:343)位于org。阿帕奇。郊狼。http11。http11处理器。服务(Http11Processor.java:798)位于org。阿帕奇。郊狼。抽象光。进程(AbstractProcessorLight.java:66)位于org。阿帕奇。郊狼。AbstractProtocol$ConnectionHandler。进程(AbstractProtocol.java:806)位于org。阿帕奇。公猫util。网NioEndpoint$SocketProcessor。doRun(NioEndpoint.java:1498)位于org。阿帕奇。公猫util。网SocketProcessorBase。在java上运行(SocketProcessorBase.java:49)。base/java。util。同时发生的线程池执行器。java上的runWorker(ThreadPoolExecutor.java:1128)。base/java。util。同时发生的线程池执行器$Worker。在org上运行(ThreadPoolExecutor.java:628)。阿帕奇。公猫util。线程。TaskThread$WrappingRunnable。在java上运行(TaskThread.java:61)。base/java。朗。丝线。运行(Thread.java:834)
在此之后,我有一系列此类警告:
08-Apr-2019 10:56:07.494 WARNING [http-nio-8089-exec-12] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/application-default.properties] to the cache for web application [/flowable-modeler] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
08-Apr-2019 10:56:07.497 WARNING [http-nio-8089-exec-12] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/application-default.xml] to the cache for web application [/flowable-modeler] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
08-Apr-2019 10:56:07.499 WARNING [http-nio-8089-exec-12] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/application-default.xml] to the cache for web application [/flowable-modeler] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
08-Apr-2019 10:56:07.500 WARNING [http-nio-8089-exec-12] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/application-default.xml] to the cache for web application [/flowable-modeler] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
我必须改变什么?
始终查看堆栈跟踪的底部以找到根本原因。在您的情况下,这是以下例外。它指向某些数据源连接,并在初始化时确定数据库类型。您可能需要检查配置中的数据库连接属性。
原因:org。流动的。常见的发动机应用程序编程接口。FlowableException:无法在组织中扣除数据库类型。流动的。用户界面。建模师。conf.DatabaseConfiguration。sqlSessionFactory(DatabaseConfiguration.java:105)位于org。流动的。用户界面。建模师。conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85。组织上的CGLIB$sqlSessionFactory$3()。流动的。用户界面。建模师。conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85$$FastClassBySpringCGLIB$$ad2f42a2。在组织中调用()。springframework。cglib。代理方法代理。在org上调用super(MethodProxy.java:228)。springframework。上下文注释。ConfigurationClassEnhancer$BeanMethodInterceptor。截取(ConfigurationClassEnhancer.java:365)在组织。流动的。用户界面。建模师。conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$32055d85。sqlSessionFactory()
我有一个应用程序与Spring靴子卡桑德拉火花。我构建了文件.war,但它没有加载。我根据Spring靴的文档准备了包装。砰,初始化类,... 我浏览了所有关于这个话题的堆栈溢出,但我没有找到这样的东西。 但是,我有这个堆栈跟踪: POM。可扩展置标语言 我的SpringBootServletInitializer 谢谢你的帮助,
我得到这个雄猫错误: 有什么问题?我使用的是Apache Tomcat 7,使用了以下4个catalina JAR: 卡特琳娜.jar 卡特琳娜蚂蚁.jar 卡塔利娜哈.jar 卡塔利娜部落.jar 是否缺少其他JAR文件?
当我运行我的tomcat服务器时,有时会收到错误,例如 和 无法完成对 Web 应用程序注释的扫描,但有时它运行良好。为什么 tomcat 服务器有时不运行? 我在下面提供了我收到的错误,你能告诉我如何解决这个问题吗?
如何克服此错误?我的项目很容易部署在Eclipse上,但当我直接通过Tomcat服务器部署它时,它无法部署。
无法在Tomcat中删除此错误。错误如下:- 请告诉我如何解决Tomcat中的生命周期异常?
在ubunutu 14.04上安装tomcat7,使用 sudo apt-get install tomcat7 正在启动Tomcat servlet引擎tomcat7[OK] 但是我在本地主机上没有得到任何东西:8080 我也尝试更改默认端口,但不起作用。