Grails Apache Camel Plugin运行时依赖“运行时'org.apache.camel:camel-mail:2.9.0'”导致应用程序停止

时间:2014-02-05 07:18:36

标签: grails apache-camel grails-plugin

我最近将我的Grails应用程序从2.2.3升级到版本2.3.5

但是之后我的应用程序根本没有进行限定,在通过在新应用程序中添加所有插件来搜索和调试应用程序和插件之后。仅当我从BuildConfig.groovy中删除以下依赖项时,应用程序才会运行。

用于接收来自GMail的电子邮件的Apache Camel Plugin运行时依赖性

dependencies {
    runtime 'org.apache.camel:camel-mail:2.9.0'
}

通过抛出以下异常导致应用程序停止

请帮我解决这个问题,我也尝试过使用Apache Camel Plugin最新版本1.2.9但到目前为止没有运气。

Error |
2014-02-05 12:10:05,196 [localhost-startStop-1] ERROR context.GrailsContextLoader  - Error initializing the application: null
Message: null
    Line | Method
->> 3357 | <init>                    in java.util.Arrays$ArrayList
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|   3343 | asList                    in java.util.Arrays
|    238 | getDeclaredFields . . . . in com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator
|     47 | getDeclaredFields         in     ''
|    359 | findFieldProperties . . . in com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl
|    290 | getProperties             in     ''
|    165 | getProperties . . . . . . in com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl
|    232 | getClassInfo              in com.sun.xml.internal.bind.v2.model.impl.ModelBuilder
|     89 | getClassInfo . . . . . .  in com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder
|     70 | getClassInfo              in     ''
|    198 | getClassInfo . . . . . .  in com.sun.xml.internal.bind.v2.model.impl.ModelBuilder
|     84 | getClassInfo              in com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder
|     70 | getClassInfo . . . . . .  in     ''
|    304 | getTypeInfo               in com.sun.xml.internal.bind.v2.model.impl.ModelBuilder
|    319 | getTypeInfo . . . . . . . in     ''
|    430 | getTypeInfoSet            in com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl
|    277 | <init> . . . . . . . . .  in     ''
|   1100 | build                     in com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder
|    143 | createContext . . . . . . in com.sun.xml.internal.bind.v2.ContextFactory
|    110 | createContext             in     ''
|    191 | createContext . . . . . . in     ''
|    128 | newInstance               in javax.xml.bind.ContextFinder
|    290 | find . . . . . . . . . .  in     ''
|    372 | newInstance               in javax.xml.bind.JAXBContext
|    337 | newInstance . . . . . . . in     ''
|    188 | createJaxbContext         in org.apache.camel.spring.handler.CamelNamespaceHandler
|    175 | getJaxbContext . . . . .  in     ''
|    303 | doParse                   in org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser
|    131 | invokeMethod . . . . . .  in grails.spring.DynamicElementReader
|     61 | doCall                    in RoutingGrailsPlugin$_closure1
|    756 | invokeBeanDefiningClosure in grails.spring.BeanBuilder
|    584 | beans                     in     ''
|    527 | invokeMethod . . . . . .  in     ''
|    303 | innerRun                  in java.util.concurrent.FutureTask$Sync
|    138 | run . . . . . . . . . . . in java.util.concurrent.FutureTask
|    886 | runTask                   in java.util.concurrent.ThreadPoolExecutor$Worker
|    908 | run . . . . . . . . . . . in     ''
^    662 | run                       in java.lang.Thread

0 个答案:

没有答案