cd ShindigGadgetsCode\java
mvn package

and also tried

cd ShindigGadgetsCode\java\gadgets
mvn package

On Tue, Jun 3, 2008 at 11:04 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:

> Where are you building from?
>
> On Mon, Jun 2, 2008 at 11:55 PM, Neo Anderson <
> [EMAIL PROTECTED]>
> wrote:
>
> > Just now I updated my code and when I am trying to build it, I got
> > following
> > error:
> >
> > org.apache.maven.surefire.booter.SurefireExecutionException:
> > org/apache/shindig/
> > common/SecurityToken; nested exception is java.lang.NoClassDefFoundError:
> > org/ap
> > ache/shindig/common/SecurityToken
> > java.lang.NoClassDefFoundError: org/apache/shindig/common/SecurityToken
> >        at java.lang.Class.getDeclaredMethods0(Native Method)
> >        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> >        at java.lang.Class.getMethod0(Class.java:2670)
> >        at java.lang.Class.getMethod(Class.java:1603)
> >        at
> > org.junit.internal.requests.ClassRequest.hasSuiteMethod(ClassRequest.
> > java:61)
> >        at
> > org.junit.internal.requests.ClassRequest.getRunnerClass(ClassRequest.
> > java:50)
> >        at
> > org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:
> > 28)
> >        at
> > org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.j
> > ava:45)
> >        at
> > org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestS
> > et(JUnit4DirectoryTestSuite.java:56)
> >        at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest
> > Sets(AbstractDirectoryTestSuite.java:96)
> >        at
> > org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire
> > .java:150)
> >        at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> >        at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:597)
> >        at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> > refireBooter.java:290)
> >        at
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> > ava:818)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 8 seconds
> > [INFO] Finished at: Tue Jun 03 12:35:08 IST 2008
> > [INFO] Final Memory: 7M/12M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>

Reply via email to