abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jagadesh K <jagades...@hotmail.com>
Subject Help me
Date Tue, 11 Nov 2008 13:46:27 GMT

Dear Sir,

        I am jagadesh and i am new to abdera. i have tried to run a sample program to create
the atom feed. but i couldn't. Can u please assist me. here i am leaving my sample code and
exception. to run this sample file i have added the following jars.

1.) abdera.client.0.2.2-incubating.retro.jar
2.) abdera.core.0.2.2-incubating.retro.jar
3.) abdera.extensions.0.2.2-incubating.retro.jar
4.) abdera.parser.0.2.2-incubating.retro.jar
5.) abdera.protocol.0.2.2-incubating.retro.jar
6.) abdera.security.0.2.2-incubating.retro.jar
7.) abdera.server.0.2.2-incubating.retro.jar 
8.) abdera-i18n-0.3.0-incubating.jar
9.) axiom-api-1.2.5.jar
10.) axiom-impl-1.2.5.jar
11.) commons-codec-1.3.jar
12.) commons-httpclient-3.1-rc1.jar
13.) commons-logging-1.0.4.jar
14.) geronimo-activation_1.0.2_spec-1.1.jar
15.) geronimo-servlet_2.4_spec-1.0.jar
16.) jaxen-1.1.1.jar
17.) retroweaver-1.1-rt.jar

Sample Code:
------------

public class Atom {
    public static void main(String[] args) throws Exception {    
        
        
        Factory factory = new Abdera().getFactory();
         
        Entry entry = factory.newEntry();
        entry.setTitle("Some Event");
        entry.setContent("Foo bar");
        entry.setUpdated(new Date());
        entry.setId(factory.newUuidUri());
        entry.addAuthor("Dan Diephouse");
        

    }

}

The Exception which i am getting is:
--------------------------------------


Exception in thread "main" java.lang.NoSuchMethodError: com/rc/retroweaver/runtime/Enum_.setEnumValues([Ljava/lang/Object;Ljava/lang/Class;)V
    at org.apache.abdera.model.Text$Type.<clinit>(Text.java:63)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
    at org.apache.abdera.parser.stax.FOMFactory.newTitle(FOMFactory.java:523)
    at org.apache.abdera.parser.stax.FOMEntry.setTitle(FOMEntry.java:548)
    at com.ibm.atom.examples.Atom.main(Atom.java:27)


Regards
Jagadesh.K


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message