简体   繁体   English

Axis2 AAR文件结构问题

[英]Axis2 aar file structure question

I trying to create an Axis2 arr file that has 2 package heirachies. 我试图创建一个具有2个程序包heirachies的Axis2 arr文件。 However my service class is throwing a class not found exception when it tries to use classes in the utils package. 但是,当我的服务类尝试使用utils包中的类时,抛出未找到类异常。

Is it possible to do this in Axis? 在Axis中可以这样做吗? Any advice is very welcome. 任何建议都非常欢迎。

Below is an example of the structure I am trying to create (utils and org are both top level packages)... 以下是我尝试创建的结构的示例(utils和org都是顶级程序包)...

|- SampleService  
|-- META-INF  
|--- services.xml  
|-- utils  
|---MyUtils.class  
|-- org  
|---- apache  
|---- axis2  
|----- axis2userguide  
|------ SampleService.class  

Problem solved. 问题解决了。 The aar file does exactly what I want. AAR文件正是我想要的。 There was an issue with some other code which fooled us. 其他一些代码使我们迷惑了。

Sorry for wasting your time. 很抱歉浪费您的时间。 Alan 艾伦

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM