简体   繁体   English

导入 org.apache.axis2.AxisFault 无法解析。 什么依赖安装必要的 AxisFault?

[英]The import org.apache.axis2.AxisFault cannot be resolved. What dependency installs necessary AxisFault?

Tried adding a dependency for a recently installed project.尝试为最近安装的项目添加依赖项。 Uses用途

import org.apache.axis2.AxisFault;

Dependency is:依赖是:

<!-- https://mvnrepository.com/artifact/org.apache.axis2.wso2/axis2 -->
<dependency>
    <groupId>org.apache.axis2.wso2</groupId>
    <artifactId>axis2</artifactId>
    <version>1.6.1-wso2v54</version>
</dependency>

Error message is错误信息是

Missing artifact org.apache.axis2.wso2:axis2:jar:1.6.1-wso2v54缺少工件 org.apache.axis2.wso2:axis2:jar:1.6.1-wso2v54

In any case I can't find out where this import comes from.无论如何,我无法找出此导入的来源。 Googled it and none of those dependencies worked.用谷歌搜索,这些依赖项都不起作用。 Tried:尝试:

<!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2 -->
<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2</artifactId>
    <version>1.7.9</version>
    <type>pom</type>
</dependency>

<!-- https://mvnrepository.com/artifact/org.apache.axis/axis -->
<dependency>
    <groupId>org.apache.axis</groupId>
    <artifactId>axis</artifactId>
    <version>1.4</version>
</dependency>

Still nothing.依然没有。

pom file is: pom 文件是:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- 
<parent>
    <groupId>org.orgname.maven</groupId>
    <artifactId>ORGNAME-Parent</artifactId>
    <version>2.0</version>
</parent>
 -->
<name>PDM-ProjectName</name>
<groupId>org.orgname.apps.pdm</groupId>
<artifactId>ProjectName</artifactId>
<version>2.0.2-SNAPSHOT</version>
<packaging>war</packaging>
<description>static web-based 'reports' to provide a view of Windchill data</description>
<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <junit.version>4.8.2</junit.version>
    <log4j.version>1.2.17</log4j.version>
    <slf4j.version>1.6.1</slf4j.version>
</properties>
<dependencies>
    <!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans -->
    <dependency>
        <groupId>org.apache.xmlbeans</groupId>
        <artifactId>xmlbeans</artifactId>
        <version>2.6.0</version>
    </dependency>
    
    
    <!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2 -->
    <dependency>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2</artifactId>
        <version>1.7.9</version>
        <type>pom</type>
    </dependency>
    
    <!-- https://mvnrepository.com/artifact/org.apache.axis/axis -->
    <dependency>
        <groupId>org.apache.axis</groupId>
        <artifactId>axis</artifactId>
        <version>1.4</version>
    </dependency>
            
                        <!-- https://mvnrepository.com/artifact/org.apache.axis2.wso2/axis2 -->
<dependency>
<groupId>org.apache.axis2.wso2</groupId>
<artifactId>axis2</artifactId>
<version>1.6.1-wso2v54</version>
</dependency>
                        
                


                        
        
        
        
    <dependency>
        <groupId>org.orgname.utils</groupId>
        <artifactId>ess-proxies</artifactId>
        <version>3.5-RELEASE</version>
    </dependency>
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>${log4j.version}</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>${slf4j.version}</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>${slf4j.version}</version>
    </dependency>
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
    </dependency>
    <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
    </dependency>
    <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>3.1</version>
    </dependency>
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.0.1</version>
        <scope>provided</scope>
    </dependency>
</dependencies>
<build>
    <sourceDirectory>src/main/java</sourceDirectory>
    <resources>
        <resource>
            <directory>src/main/resources</directory>
            <excludes>
                <exclude>**/*.java</exclude>
            </excludes>
        </resource>
    </resources>
    <plugins>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.1</version>
            <configuration>
                <source>1.8</source>
                <target>1.8</target>
            </configuration>
        </plugin>
        <plugin>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.3</version>
            <configuration>
                <warSourceDirectory>WebContent</warSourceDirectory>
                <failOnMissingWebXml>false</failOnMissingWebXml>
            </configuration>
        </plugin>
    </plugins>
</build>
</project>

I really think this is just a problem with the dependency, as a simple import isn't working right, and I'm having trouble finding the right dependency to work that has the right file AxisFault in its packages.我真的认为这只是依赖项的问题,因为简单的导入无法正常工作,而且我无法找到正确的依赖项来运行其包中具有正确文件 AxisFault 的工作。 For some reason though axis2 doesn't contain the right things I need.出于某种原因,虽然axis2 不包含我需要的正确的东西。 If someone grabs the same dependencies I do, do they see如果有人抓住了与我相同的依赖项,他们是否看到

import org.apache.axis2.AxisFault; 

working correctly, not giving an error message?工作正常,没有给出错误信息? I'm a bit lost, any help would be appreciated.我有点迷茫,任何帮助将不胜感激。

I got it!我知道了!

Answer was here: https://jar-download.com/artifacts/org.apache.axis2/axis2-kernel/1.7.7/source-code/org/apache/axis2/AxisFault.java答案在这里: https : //jar-download.com/artifacts/org.apache.axis2/axis2-kernel/1.7.7/source-code/org/apache/axis2/AxisFault.java

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-kernel</artifactId>
    <version>1.7.7</version>
</dependency>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 org.apache.axis2.AxisFault连接被拒绝 - org.apache.axis2.AxisFault connection refused 错误:org.apache.axis2.AxisFault:请求中未指定方法 - Error: org.apache.axis2.AxisFault: No method specified in request org.apache.axis2.AxisFault:尚未设置转出 - org.apache.axis2.AxisFault: Transport out has not been set 引起:org.apache.axis2.AxisFault:无法参与模块:城墙 - Caused by: org.apache.axis2.AxisFault: Unable to engage module : rampart org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: - org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: org.apache.axis2.AxisFault:传输错误:501错误:未实现 - org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented org.apache.axis2.AxisFault:org.apache.axis2.databinding.ADBException:Unexpected subelement underTimelyRenewal - org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement underTimelyRenewal org.apache.axis2.AxisFault:不喜欢该软件包的映射qname:org.hibernate.collection - org.apache.axis2.AxisFault: Mapping qname not fond for the package: org.hibernate.collection org.apache.axis2.AxisFault:不喜欢该软件包的映射qname:org.joda.time.chrono - org.apache.axis2.AxisFault: Mapping qname not fond for the package: org.joda.time.chrono org.apache.axis2.AxisFault:尝试调用服务方法getUserInfomationByEmail时发生异常 - org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method getUserInfomationByEmail
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM