Help...Got error: Unexpected adapter type object "com.asc.zyq.adapter.FirstAdapter"

Hello everyone…I got an error when I start an Adapter writen by Eclipse + wm Developer…

com.wm.pkg.art.error.DetailedServiceException: [ART.114.12]
Adapter Runtime: Error occurred while Adapter Runtime was loading an adapter type.
Unexpected adapter type object “com.asc.zyq.adapter.FirstAdapter” for input “adapter”. at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:122) at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:116) at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:93) at com.wm.pkg.art.deployment.Service.registerAdapterType(Service.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:612) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:235) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39) at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:411) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:521) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:369) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:113) at com.wm.app.b2b.server.Service.doInvoke(Service.java:636) at com.wm.app.b2b.server.Service.doInvoke(Service.java:533) at com.wm.adk.admin.AdapterAdmin.invokeAdapterService(AdapterAdmin.java:119) at com.wm.adk.admin.AdapterAdmin.registerAdapter(AdapterAdmin.java:79) at com.asc.zyq.adapter.FirstAdapterAdmin.startUp(FirstAdapterAdmin.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:612) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:235) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39) at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:411) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:521) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:369) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:128) at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:131) at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:119) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:312) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534)

Help me…Thanks…

And there more, the Adapter class I code as flow:

public class FirstAdapter extends WmAdapter {

public static final String ADAPTER_NAME = FirstAdapter.class.getName();
private static FirstAdapter _instance=null;
private static ARTLogger _logger;

public FirstAdapter() throws AdapterException {
    super();
}

public void fillAdapterTypeInfo(AdapterTypeInfo arg0, Locale arg1) {

}

public String getAdapterJCASpecVersion() {
    return "1.0";
}

public int   getAdapterMajorCode() {
    return 9002;
}

public String getAdapterName() {
    return ADAPTER_NAME;
}

public String getAdapterResourceBundleName() {
    return FirstAdapterResourceBundle.class.getName();
}

public String getAdapterVersion() {
    return "6.5";
}
public static FirstAdapter getInstance(){
    synchronized(FirstAdapter.class) {
        if (_instance != null) {
            return _instance;
        }
        
        try {
            _instance = new FirstAdapter();
            return _instance;
        } catch (Throwable t) {
            t.printStackTrace();
            return null;
        }
    }
}

public void initialize() throws AdapterException {
    _logger = new ARTLogger(getAdapterMajorCode(),getAdapterName(),getAdapterResourceBundleName());
    getLogger().logDebug(9999,"Adapter initialized");
}

public void cleanup() {
    if(_logger!=null){
        _logger.close();
    }
}

public static ARTLogger getLogger() {
    return _logger;
}

}

Oh…i think I found teh reason:
when I try to get a instance in main function:

null
java.lang.NoClassDefFoundError: com/wm/pkg/art/log/ARTJLog
at com.wm.adk.WmAdapter.(WmAdapter.java:54)
at com.asc.zyq.adapter.FirstAdapter.(FirstAdapter.java:16)
at com.asc.zyq.adapter.FirstAdapter.getInstance(FirstAdapter.java:49)
at com.asc.zyq.adapter.FirstAdapter.main(FirstAdapter.java:74)

The class com.wm.pkg.art.log.ARTJLog is in package wmART, how can I add it in the class Path use for webmethod?

resolve it…
Just need to edit the file manifest.v3…
Why webmethod could not edit it by automatic…oops…