gpt4 book ai didi

Axis2 错误 : The addressing-1. 5.1.mar 模块,无效,导致 null

转载 作者:行者123 更新时间:2023-12-03 23:35:46 25 4
gpt4 key购买 nike

任何人都知道以下错误的原因可能是什么以及如何解决它?

org.apache.axis2.deployment.ModuleDeployer 2010-09-23 11:42:40,689 -- 错误 -- 无效的寻址 1.5.1.mar 模块导致 null

java.lang.ExceptionInInitializerError

        at org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:224)

at org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:165)

at org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:899)

at org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115)

at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65)

at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)

at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)

at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)

at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)

at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)

at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133)

at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)

at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)

引起:java.lang.NullPointerException
        at org.apache.axis2.deployment.util.TempFileManager.recursiveDelete(TempFileManager.java:138)

at org.apache.axis2.deployment.util.TempFileManager.<clinit>(TempFileManager.java:202)

... 22 more

最佳答案

当这发生在我身上时,我通过将 java 的 java.io.tmpdir 属性设置为我的 Linux 用户 acct 肯定可以写入的目录来解决问题。在运行我的应用程序之前,我在登录到我的 Linux 用户帐户时使用了“mkdir”来创建 tmpdir。

java -Djava.io.tmpdir=[writable directory] [other options] [class to run]

关于Axis2 错误 : The addressing-1. 5.1.mar 模块,无效,导致 null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3776113/

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