- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试根据此 article 将应用程序从 Anypount Studio 移动到 Eclipse我配置了运行配置,但是启动时出现异常:
09.12.2015 13:27:46.462 WARN JdkVersionUtils:328 - We are looking into adding support for this JDK version. Use it at your own risk.
09.12.2015 13:27:46.491 INFO MuleServer:287 - Mule Server initializing...
09.12.2015 13:27:46.754 WARN JdkVersionUtils:328 - We are looking into adding support for this JDK version. Use it at your own risk.
09.12.2015 13:27:46.771 INFO AbstractLifecycleManager:51 - Initialising RegistryBroker
09.12.2015 13:27:47.009 INFO MuleArtifactContext:510 - Refreshing org.mule.config.spring.MuleArtifactContext@1b1473ab: startup date [Wed Dec 09 13:27:47 MSK 2015]; root of context hierarchy
09.12.2015 13:27:47.134 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/registry-bootstrap-mule-config.xml]
09.12.2015 13:27:47.662 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]
09.12.2015 13:27:48.159 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]]
09.12.2015 13:27:48.160 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_muleConfiguration': replacing [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.MuleConfigurationConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]]
09.12.2015 13:27:48.166 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]]
09.12.2015 13:27:48.167 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_muleNotificationManager': replacing [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.config.spring.ServerNotificationManagerConfigurator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]]
09.12.2015 13:27:48.186 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/mule-spring-config.xml]
09.12.2015 13:27:48.212 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/default-mule-config.xml]
09.12.2015 13:27:48.332 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_muleSystemModel': replacing [Root bean: class [org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose] with [Root bean: class [org.mule.model.seda.SedaModel]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose]
09.12.2015 13:27:48.334 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_defaultThreadingProfile': replacing [Generic bean: class [org.mule.config.ChainedThreadingProfile]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.config.ChainedThreadingProfile]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/default-mule-config.xml]]
09.12.2015 13:27:48.335 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean '_defaultRetryPolicyTemplate': replacing [Generic bean: class [org.mule.retry.policies.NoRetryPolicyTemplate]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/minimal-mule-config.xml]] with [Generic bean: class [org.mule.retry.policies.NoRetryPolicyTemplate]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=null; defined in URL [jar:file:/C:/Users/Maya/.m2/repository/org/mule/modules/mule-module-spring-config/3.5.0/mule-module-spring-config-3.5.0.jar!/default-mule-config.xml]]
09.12.2015 13:27:48.338 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from URL [file:/C:/Users/Maya/workspace/appservices/src/main/app/appservices.xml]
09.12.2015 13:27:48.488 INFO DefaultListableBeanFactory:663 - Overriding bean definition for bean 'appFlow1': replacing [Root bean: class [org.mule.construct.Flow]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose] with [Root bean: class [org.mule.construct.Flow]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=initialise; destroyMethodName=dispose]
09.12.2015 13:27:49.361 INFO DefaultListableBeanFactory:596 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@48a12036: defining beans [_muleSimpleRegistryBootstrap,_muleNotificationManager,_muleConfiguration,._muleNotificationManager:notification.1,._muleNotificationManager:notification.2,._muleNotificationManager:notification.3,._muleNotificationManager:notification.4,._muleNotificationManager:notification.5,._muleNotificationManager:notification.6,._muleNotificationManager:notification.7,._muleNotificationManager:notification.8,._muleNotificationManager:notification.9,._muleNotificationManager:notification.10,_defaultInMemoryQueueStore,_defaultPersistentQueueStore,_defaultInMemoryObjectStore,_defaultPersistentObjectStore,_defaultUserObjectStore,_defaultTransientUserObjectStore,_muleQueueManager,_muleObjectStoreManager,_defaultThreadingProfile,_defaultMessageDispatcherThreadingProfile,_defaultMessageRequesterThreadingProfile,_defaultMessageReceiverThreadingProfile,_defaultServiceThreadingProfile,_defaultRetryPolicyTemplate,_muleExpressionLanguage,_muleCustomEditorConfigurer,_muleObjectNameProcessor,_mulePropertyPlaceholderProcessor,_muleParentContextPropertyPlaceholderProcessor,_muleSystemModel,_muleAnnotationsProcessor,_muleTransformerAnnotationProcessor,_muleSecurityManager,_muleMessageProcessingManager,_muleEndpointFactory,_muleStreamCloserService,_converterResolver,_muleLockFactory,_muleLockProvider,_muleProcessingTimeWatcher,appFlow1,.appFlow1:inbound-endpoint.11,.appFlow1:jaxws-service.12,.appFlow1:jaxws-service.12:inInterceptors.13,.appFlow1:jaxws-service.12:outInterceptors.14,.appFlow1:component.15]; root of factory hierarchy
09.12.2015 13:27:49.908 INFO TransactionJournal:61 - Using files for tx logs C:\Users\Maya\workspace\appservices\.\.mule\queue-tx-log\tx1.log and C:\Users\Maya\workspace\appservices\.\.mule\queue-tx-log\tx2.log
09.12.2015 13:27:49.923 INFO TransactionJournal:61 - Using files for tx logs C:\Users\Maya\workspace\appservices\.\.mule\queue-xa-tx-log\tx1.log and C:\Users\Maya\workspace\appservices\.\.mule\queue-xa-tx-log\tx2.log
09.12.2015 13:27:49.959 INFO AbstractLifecycleManager:34 - Initialising model: _muleSystemModel
09.12.2015 13:27:50.033 WARN GenericTypeAwarePropertyDescriptor:113 - 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)]
09.12.2015 13:27:50.188 INFO AbstractLifecycleManager:40 - Initialising connector: connector.http.mule.default
09.12.2015 13:27:50.322 INFO FlowConstructLifecycleManager:76 - Initialising flow: appFlow1
09.12.2015 13:27:50.322 INFO DefaultMessagingExceptionStrategy:159 - Initialising exception listener: org.mule.exception.DefaultMessagingExceptionStrategy@29f0802c
09.12.2015 13:27:50.345 INFO SedaStageLifecycleManager:69 - Initialising service: appFlow1.stage1
09.12.2015 13:27:50.584 INFO WebServiceFactoryBean:83 - Built CXF Inbound MessageProcessor for service class com.comp.serv.ServiceEndPoindImpl
09.12.2015 13:27:50.631 INFO ReflectionServiceFactoryBean:415 - Creating Service {http://new.webservice.namespace}ServiceForAppfrom class com.maya.serv.ServiceInterface
09.12.2015 13:27:51.839 INFO ServerImpl:94 - Setting the server's publish address to be http://192.168.1.13:12341/appservices
09.12.2015 13:27:51.856 INFO ComponentLifecycleManager:47 - Initialising component: component.874740624
09.12.2015 13:27:51.872 INFO SpringXmlConfigurationBuilder:71 - Configured Mule using "org.mule.config.spring.SpringXmlConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='src/main/app/appservices.xml'}]"
09.12.2015 13:27:51.873 INFO AutoConfigurationBuilder:71 - Configured Mule using "org.mule.config.builders.AutoConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='src/main/app/appservices.xml'}]"
09.12.2015 13:27:51.873 INFO MuleServer:289 - Mule Server starting...
09.12.2015 13:27:51.877 INFO QueueXaResourceManager:61 - Starting ResourceManager
09.12.2015 13:27:51.878 INFO QueueXaResourceManager:75 - Started ResourceManager
09.12.2015 13:27:51.895 INFO AbstractLifecycleManager:72 - Disposing RegistryBroker
09.12.2015 13:27:51.899 INFO AbstractLifecycleManager:85 - Disposing connector: connector.http.mule.default
09.12.2015 13:27:51.900 INFO ExpiryMonitor:177 - disposing monitor
09.12.2015 13:27:51.908 INFO MuleArtifactContext:1042 - Closing org.mule.config.spring.MuleArtifactContext@1b1473ab: startup date [Wed Dec 09 13:27:47 MSK 2015]; root of context hierarchy
09.12.2015 13:27:51.909 INFO DefaultListableBeanFactory:444 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@48a12036: defining beans [_muleSimpleRegistryBootstrap,_muleNotificationManager,_muleConfiguration,._muleNotificationManager:notification.1,._muleNotificationManager:notification.2,._muleNotificationManager:notification.3,._muleNotificationManager:notification.4,._muleNotificationManager:notification.5,._muleNotificationManager:notification.6,._muleNotificationManager:notification.7,._muleNotificationManager:notification.8,._muleNotificationManager:notification.9,._muleNotificationManager:notification.10,_defaultInMemoryQueueStore,_defaultPersistentQueueStore,_defaultInMemoryObjectStore,_defaultPersistentObjectStore,_defaultUserObjectStore,_defaultTransientUserObjectStore,_muleQueueManager,_muleObjectStoreManager,_defaultThreadingProfile,_defaultMessageDispatcherThreadingProfile,_defaultMessageRequesterThreadingProfile,_defaultMessageReceiverThreadingProfile,_defaultServiceThreadingProfile,_defaultRetryPolicyTemplate,_muleExpressionLanguage,_muleCustomEditorConfigurer,_muleObjectNameProcessor,_mulePropertyPlaceholderProcessor,_muleParentContextPropertyPlaceholderProcessor,_muleSystemModel,_muleAnnotationsProcessor,_muleTransformerAnnotationProcessor,_muleSecurityManager,_muleMessageProcessingManager,_muleEndpointFactory,_muleStreamCloserService,_converterResolver,_muleLockFactory,_muleLockProvider,_muleProcessingTimeWatcher,appFlow1,.appFlow1:inbound-endpoint.11,.appFlow1:jaxws-service.12,.appFlow1:jaxws-service.12:inInterceptors.13,.appFlow1:jaxws-service.12:outInterceptors.14,.appFlow1:component.15]; root of factory hierarchy
09.12.2015 13:27:51.911 INFO FlowConstructLifecycleManager:141 - Disposing flow: appFlow1
09.12.2015 13:27:51.912 INFO SedaStageLifecycleManager:118 - Disposing service: appFlow1.stage1
09.12.2015 13:27:51.913 INFO ComponentLifecycleManager:82 - Disposing component: component.874740624
09.12.2015 13:27:51.914 INFO AbstractLifecycleManager:64 - Disposing model: _muleSystemModel
09.12.2015 13:27:52.029 INFO DefaultMuleContext:352 -
**********************************************************************
* Mule Context shut down normally on: 09.12.15 13:27 *
* Server was up for: 0 days, 0 hours, 0 mins, 0.144 sec *
**********************************************************************
09.12.2015 13:27:52.031 ERROR MuleServer:451 -
********************************************************************************
Message : Failed to invoke lifecycle phase "start" on object: org.mule.util.queue.DelegateQueueManager@6edf29c1
Type : org.mule.api.lifecycle.LifecycleException
Code : MULE_ERROR-70228
JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html
********************************************************************************
Exception stack is:
1. org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z (java.lang.NoSuchMethodError)
org.mule.util.journal.TransactionJournalFile:149 (null)
2. Failed to invoke lifecycle phase "start" on object: org.mule.util.queue.DelegateQueueManager@6edf29c1 (org.mule.api.lifecycle.LifecycleException)
org.mule.lifecycle.phases.DefaultLifecyclePhase:248 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html)
********************************************************************************
Root Exception stack trace:
java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
at org.mule.util.journal.TransactionJournalFile.clear(TransactionJournalFile.java:149)
at org.mule.util.journal.TransactionJournal.clear(TransactionJournal.java:135)
at org.mule.util.journal.queue.AbstractQueueTransactionJournal.clear(AbstractQueueTransactionJournal.java:121)
at org.mule.util.journal.queue.LocalTxQueueTransactionRecoverer.recover(LocalTxQueueTransactionRecoverer.java:122)
at org.mule.util.queue.TransactionalQueueManager.start(TransactionalQueueManager.java:92)
at org.mule.util.queue.DelegateQueueManager.start(DelegateQueueManager.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)
at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273)
at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152)
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123)
at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76)
at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:136)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)
at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)
at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)
at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:278)
at org.mule.MuleServer.run(MuleServer.java:290)
at org.mule.MuleServer.start(MuleServer.java:275)
at org.mule.MuleServer.main(MuleServer.java:134)
********************************************************************************
09.12.2015 13:27:52.032 ERROR MuleServer:465 -
********************************************************************************
* A Fatal error has occurred while the server was running: *
* org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z *
* (java.lang.NoSuchMethodError) *
* *
* The error is fatal, the system will shutdown *
********************************************************************************
这个问题是否存在于 POM(不兼容库)中以及如何修复?
更新这是依赖树的一部分:
The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
com.comp:appservicesce:mule:1.0.17
+- commons-io:commons-io:jar:1.3.2:compile
+- fife:rsyntaxtextarea:jar:2.0.1:compile
+- com.neovisionaries:nv-i18n:jar:1.9:compile
+- org.apache.ibatis:ibatis-sqlmap:jar:2.3.4.726:compile
+- commons-dbcp:commons-dbcp:jar:1.2.2:compile
| \- commons-pool:commons-pool:jar:1.3:compile
+- com.microsoft.sqlserver:sqljdbc4:jar:4.0:compile
+- com.oracle:ojdbc6:jar:11.2.0:compile
更新2我尝试使用: <dependency>
和
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency><dependency>
和
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
</dependency><dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
结果相同:Root Exception stack trace:
java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
最佳答案
mule-module-xml
依赖关系传递性地解决了 commons-io
依赖关系,对于 3.6 版的 mule,它编译了 2.4 版的 commons-io
您还可以尝试的一件事是:
Right click your project in Eclipse > Maven > Update Project > Force Update of Snapshots/Releases.
如果您的 pom.xml 中有 mule-module-xml 依赖项,则无需显式添加 commons-io 的依赖项。也检查一下。
-尚基·G.
关于java - 从 Eclipse 运行 Mule 应用程序时出现 NoSuchMethodError 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34176714/
我想在文件系统上手动创建文件夹/文件,以便在 eclipse 的工作区中创建新项目,并在启动 eclipse 并选择工作区时显示在项目资源管理器中。 执行此操作需要创建哪些文件,它们需要位于何处? 请
我正在关注these instructions ,但在运行 mvn eclipse:eclipse 等命令时遇到问题。 我应该如何以及在哪里运行该命令? 我的设置: Windows 7 32 位 面向
是否有任何命令可以在不实际启动 eclipse 的情况下创建 eclipse 工作区?我希望该命令成为脚本的一部分。创建工作区后,将对其进行配置(例如文本编码),然后用于将项目导入到 RTC。我知道下
我想为 Eclipse 插件创建一个自动安装程序(即不通过“更新管理器”)。我的场景很简单:用户关闭 Eclipse,将下载的 JAR 放入 dropins 文件夹,启动 Eclipse,其余的过程是
每当我们想要使用现有源位置创建 Eclipse 项目时,我们将选择现有源位置(根)作为项目位置。 Eclipse 将在该源的根目录中创建所有项目特定文件。 现在,出于某种原因,如果我们想用不同的设置重
可能被问过多次; 有没有办法从控制台(Linux 或 Windows)刷新 Eclipse 工作区文件夹。 我知道有 Ant 任务可以做到这一点。但很想知道是否有命令行技巧。 最佳答案 不,您能做的最
我说的是工具栏上的小图标。 网络上似乎没有任何这样的问题,它们都指的是 android 或自定义应用程序,而不是与 eclipse 捆绑在一起的图标。 我想知道是否有人尝试过这个,或者可以告诉我它不值
如何使用 Eclipse 比较两个文件? (目前我正在使用 WinMerge 。) 最佳答案 要在 Eclipse 中比较两个文件,请首先在 Project Explorer/Package Expl
我正在尝试将我在一个带有数据库的 Eclipse JEE6 项目中所做的所有工作转移到另一个 Eclipse 程序。我知道我将不得不重新配置很多并重建很多库文件,但是尽可能多地传输的最简单方法是什么?
在 Eclipse 中加载我的工作台并启用 TFS 插件时,它挂起。与此类似: http://social.msdn.microsoft.com/Forums/vstudio/en-US/85c1d3
Eclipse 可以通过插件包含许多不同的功能集。您是否在一个 Eclipse 中安装所有插件?或者您是否从 spring 安装 STS,从 adobe 安装 Flex eclipse,甚至从 ecl
我错误地单击了“在 Eclipse 首选项中将目标运行标记为忽略在 Eclipse 构建中(实验)”: 在哪里/如何撤消此操作? 最佳答案 m2e 使用文件 YOUR_WORKSPACE/.metad
我是 Maven 新手。我尝试执行 >mvn eclipse:eclipse -Dwtpversion=2.0。但我收到以下错误: D:\test\CounterWebApp>mvn eclips
当我运行多个 Eclipse 实例时,操作系统不断请求上述权限。 我已经授予了该权限,并且我尝试了多次禁用和启用该权限。 我正在使用, macOS Catalina(版本:10.15.3 (19D76
我有一个 Maven 项目,其中我在项目构建期间使用 wsimport 作为目标来使用 Web 服务。 org.codehaus.mojo
当尝试使用 eclipse 新软件功能安装 eclipse 时,出现此错误: Cannot complete the install because one or more required item
我已经下载了整个 Eclipse Helios/Indigo 版本的源代码。现在我想对它进行一些修改等等。所以我导入了整个源代码,但现在我在编译时遇到了 n 个错误。此外,我正在尝试 RunAs> 插
我已经安装了 eclipse Oxygen 并且正在尝试连接到 Eclipse 市场,以安装插件,它给出了以下异常 - org.eclipse.equinox.p2.core.ProvisionExc
我的 IDE 中安装了来自 Sonatype 的 m2Eclipse 插件。它允许我通过右键单击 pom.xml 文件并导航到“运行方式”菜单来运行各种 Maven 命令(打包、安装等)。 但是,我还
我在 Windows7 64 位上运行 Maven 3 时遇到问题。当我执行maven eclipse:eclipse(我使用maven-eclipse-plugin 2.8)时,maven不会创建任
我是一名优秀的程序员,十分优秀!