我在尝试在MuleStudio 3.5中运行我的MULE项目时遇到以下错误。我在2周前运行了同一个项目,并没有对这个特定项目进行任何更改。我唯一做的就是在工作区中添加一个新项目。如果我尝试运行新项目,我会得到同样的错误。我也尝试删除新项目,但这没有用。但是,我在工作区中有其他项目正常工作。任何想法或想法将不胜感激。
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Initializing app 'max_nd_max_workorders' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2016-06-16 09:43:03,741 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising RegistryBroker
INFO 2016-06-16 09:43:03,920 [main] org.mule.config.spring.MuleApplicationContext: Refreshing org.mule.config.spring.MuleApplicationContext@1f2586d6: startup date [Thu Jun 16 09:43:03 MDT 2016]; root of context hierarchy
INFO 2016-06-16 09:43:09,353 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising connector: httpMaxWOPollingConnector
WARN 2016-06-16 09:43:09,475 [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor: Invalid JavaBean property 'port' being accessed! Ambiguous write methods found next to actually used [public void org.mule.endpoint.URIBuilder.setPort(java.lang.String)]: [public void org.mule.endpoint.URIBuilder.setPort(int)]
INFO 2016-06-16 09:43:12,439 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising model: _muleSystemModel
INFO 2016-06-16 09:43:12,573 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising connector: httpConnector
INFO 2016-06-16 09:43:12,611 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising connector: httpProxyConnector
org.mule.module.launcher.application.DefaultMuleApplication: null
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass(LocalVariableTableParameterNameDiscoverer.java:110)
at org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames(LocalVariableTableParameterNameDiscoverer.java:85)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89)
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109)
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119)
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)
at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84)
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207)
at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64)
at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47)
at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127)
INFO 2016-06-15 13:50:48,189 [main] org.mule.module.launcher.application.DefaultMuleApplication: App 'max_nd_pm_workorders' never started, nothing to dispose of
Exception in thread "main" org.mule.module.launcher.DeploymentInitException: IllegalArgumentException:
mule-deploy.properties:
redeployment.enabled=true
encoding=UTF-8
domain=default
config.resources=max_nd_max_workorders.xml
答案 0 :(得分:1)
我遇到过同样的情况,我没有想到任何解决办法的理由。此外,我不记得任何纠正问题的固定解决方案。请尝试以下任何一种解决此问题的方法。
如果没有任何作用,则进行新的anypoint studio安装,然后将所有项目导入到新工作区中。
答案 1 :(得分:1)
我遇到了与mule server 3.8.3 EE类似的问题。通过降级到3.7.0 EE得到修复