shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jeremi joslin" <jerem...@gmail.com>
Subject Re: Not able to build...
Date Wed, 04 Jun 2008 07:34:19 GMT
use mvn -Prun instead of mvn jetty:run

jeremi

On Wed, Jun 4, 2008 at 2:19 PM, Neo Anderson
<neoanderson123@googlemail.com> wrote:
> mvn install
>
> completed successfully.
>
> But mvn jetty:run is bringing up some errors.
>
> On Wed, Jun 4, 2008 at 12:43 PM, jeremi joslin <jeremi23@gmail.com> wrote:
>
>> Hi,
>> try :
>> cd ShindigGadgetsCode
>> mvn clean install
>>
>> and if you want to run it in jetty:
>> mvn -Prun
>>
>> You can find a useful howto there :
>> http://chrisschalk.com/shindig_docs/io/shindig-io.html
>>
>> Jeremi
>>
>> On Wed, Jun 4, 2008 at 2:07 PM, Neo Anderson
>> <neoanderson123@googlemail.com> wrote:
>> > 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 <etnu@google.com> wrote:
>> >
>> >> Where are you building from?
>> >>
>> >> On Mon, Jun 2, 2008 at 11:55 PM, Neo Anderson <
>> >> neoanderson123@googlemail.com>
>> >> 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]
>> >> >
>> ------------------------------------------------------------------------
>> >> >
>> >>
>> >
>>
>

Mime
View raw message