只是一个简短的:
我有一个使用 Java 1.5.0_11 运行的 Ant-Build 文件的应用程序。我想在 Java 1.6.0_31 上运行该应用程序。
但是,如果我尝试通过 shell 脚本运行我的 App,我会收到以下错误:
[importXML] 2013-02-21 13:25:16,165 INFO [main] - Creating cache manager from config file: /cache.ccf
[importXML] 2013-02-21 13:25:16,181 INFO [main] - thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
[importXML] 2013-02-21 13:25:16,185 INFO [main] - Setting default auxiliaries to DC
[importXML] 2013-02-21 13:25:16,190 INFO [main] - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 10000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
[importXML] 2013-02-21 13:25:16,191 INFO [main] - No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
[importXML] 2013-02-21 13:25:16,191 INFO [main] - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1361449516191, LastAccessTime = 1361449516191, getTimeToLiveSeconds() = -1, createTime = 1361449516191 ]
[importXML] 2013-02-21 13:25:16,192 WARN [main] - No such property [maxLifeSeconds] in org.apache.jcs.engine.CompositeCacheAttributes.
[importXML] 2013-02-21 13:25:16,192 INFO [main] - No special ElementAttribute class defined for key [jcs.region.main.elementattributes], using default class.
[importXML] 2013-02-21 13:25:16,215 INFO [main] - initialized LRUMemoryCache for main
[importXML] 2013-02-21 13:25:16,215 INFO [main] - Constructed cache with name [main] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 10000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
[importXML] 2013-02-21 13:25:16,216 ERROR [main] - Could not instantiate auxFactory named "DC".
Java 1.5 and 1.6
是否存在任何可能导致此错误的已知问题和差异。
问候 LStrike
PS:我不允许发布更具体的申请细节,抱歉。
[编辑]
BUILD FAILED
java.lang.NoSuchMethodError: javax.xml.bind.annotation.XmlAccessorType.value()Ljavax/xml/bind/annotation/AccessType;