gpt4 book ai didi

Java Ant - 错误 [main] - 无法实例化名为 "DC"的 auxFacto-ry

转载 作者:行者123 更新时间:2023-11-30 11:35:37 25 4
gpt4 key购买 nike

只是一个简短的:

我有一个带有 Ant-Build 文件的应用程序,该文件使用 Java 1.5.0_11 运行。我想在 Java 1.6.0_31 上运行该应用程序。

但是如果我尝试通过 shell skript 运行我的应用程序,我会得到以下错误:

    [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 和 1.6 之间是否存在任何可能导致此错误的已知问题和差异。

问候罢工

PS:我不能发布更具体的申请细节,对此深表歉意。

[编辑]

 BUILD FAILED
java.lang.NoSuchMethodError: javax.xml.bind.annotation.XmlAccessorType.value()Ljavax/xml/bind/annotation/AccessType;

最佳答案

你有任何相对/绝对路径的使用吗?导入任何东西?

也许您正在寻找的文件无法访问,或者它不存在?

工厂是改成抽象的还是什么?是接口(interface)吗?

有了这些更多的详细信息,我们可以为您提供更多帮助。

此外,我如何在此处结束一行?我总是需要按两次“输入”才能换行。

关于Java Ant - 错误 [main] - 无法实例化名为 "DC"的 auxFacto-ry,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15002423/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com