AnsweredAssumed Answered

Running SimpleExampleWithContent

Question asked by samualjohnsson on Jun 9, 2006
What environment do I have to set up to be able to run the SimpleExampleWithContent?
I built the files using the Ant build.  The web client using that build runs OK.  But now I would like to run some of the test scripts. 
Some of the JUnit tests are running, although I am getting an error with the ISODate.
I would really like the SimpleExampleWithContent to run to experiment with.  This is what I'm doing, but the classpath is probably not right.

C:\alfresco\HEAD\root\projects\repository\build\classes\org\alfresco\example>java SimpleExampleWithContent
Exception in thread "main" java.lang.NoClassDefFoundError: SimpleExampleWithCont
ent (wrong name: org/alfresco/example/SimpleExampleWithContent)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at Source)
        at Source)
        at$100(Unknown Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)