在tomcat上部署mule 3应用程序时,出现以下错误无法理解/找到我为什么会出现此错误

bvjxkvbb  于 2021-10-10  发布在  Java
关注(0)|答案(1)|浏览(316)
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.
java.util.ServiceConfigurationError: org.mule.config.pool.ThreadPoolFactory: Provider org.mule.config.pool.DefaultThreadPoolFactory not a subtype
    at java.util.ServiceLoader.fail(ServiceLoader.java:239)
    at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at org.mule.config.PreferredObjectSelector.select(PreferredObjectSelector.java:54)
    at org.mule.config.pool.ThreadPoolFactory.newInstance(ThreadPoolFactory.java:50)
    at org.mule.config.ImmutableThreadingProfile.<init>(ImmutableThreadingProfile.java:33)
    at org.mule.context.DefaultMuleContextBuilder.createMuleWorkManager(DefaultMuleContextBuilder.java:278)
    at org.mule.context.DefaultMuleContextBuilder.createWorkManager(DefaultMuleContextBuilder.java:271)
    at org.mule.context.DefaultMuleContextBuilder.getWorkManager(DefaultMuleContextBuilder.java:206)
    at org.mule.context.DefaultMuleContextBuilder.buildMuleContext(DefaultMuleContextBuilder.java:105)
    at org.mule.context.DefaultMuleContextFactory.buildMuleContext(DefaultMuleContextFactory.java:248)
    at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:211)
    at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:103)
    at org.mule.config.builders.MuleXmlBuilderContextListener.createMuleContext(MuleXmlBuilderContextListener.java:165)
    at org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:94)
    at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:70)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5128)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5653)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1128)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020)
    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)

我尝试使用servlet和tomcat连接器,但得到了相同的错误。请帮助/指导我解决此问题。提前谢谢。

62o28rlo

62o28rlo1#

我怀疑存在类加载问题,可能与放错地方的jar库有关。确保按照文档中的步骤将mule应用程序部署到tomcat。还要检查版本,以查看mule是否支持tomcat版本,以及应用程序是否使用了任何提供的库,这些库应该提供而不是打包,如文档所示。

相关问题