只是一个简短的例子:
我有一个使用Java 1.5.0_11运行的带有Ant构建文件的应用程序。我想在Java 1.6.0_31上运行该应用程序。
但是,如果我试图用shell脚本运行我的App vi,我会得到以下错误:
[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
之间是否存在任何可能导致此错误的knwon问题和差异。
问候LStrike
附言:我不被允许发布更具体的申请细节,很抱歉。
[编辑]
BUILD FAILED
java.lang.NoSuchMethodError: javax.xml.bind.annotation.XmlAccessorType.value()Ljavax/xml/bind/annotation/AccessType;
您有任何类型的相对/绝对路径使用吗?进口什么?
也许你要找的文件无法访问,或者它不存在?
工厂是改成抽象的还是什么的?它是一个接口吗?
有了更多这样的细节,我们可以为您提供更多帮助。
另外,我如何在这里结束一行?我总是要按两次回车键才能得到一条新行。