users@glassfish.java.net

Re: Newbie frustration - Cannot get web services to work

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Nov 2009 23:13:10 PST

I just read on a site that you can add a no-args constructor and it will work. So I tried adding

private TransactionEnum(){}

To the TransactionEnum class and Glassfish got past it. Now I get

[#|2009-12-01T18:09:50.027+1100|WARNING|glassfishv3.0|com.sun.xml.bind.v2.runtime.reflect.opt.Injector|_ThreadID=31;_ThreadName=http-thread-pool-8080-(2);|duplicate class definition bug occured? Please report this : com/dhcbank/www/banking/schema/AccountActivityResponseType$JaxbAccessorM_getTransactionList_setTransactionList_[Lcom_dhcbank_www_banking_schema_TransactionType;
java.lang.ClassFormatError: Illegal class name "com/dhcbank/www/banking/schema/AccountActivityResponseType$JaxbAccessorM_getTransactionList_setTransactionList_[Lcom_dhcbank_www_banking_schema_TransactionType;" in class file com/dhcbank/www/banking/schema/AccountActivityResponseType$JaxbAccessorM_getTransactionList_setTransactionList_[Lcom_dhcbank_www_banking_schema_TransactionType;
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:700)
...

Sigh!
[Message sent by forum member 'drekka' ]

http://forums.java.net/jive/thread.jspa?messageID=373996