Unable to compile lift

3 views
Skip to first unread message

David Pollak

unread,
Mar 14, 2008, 12:58:51 PM3/14/08
to liftweb
Folks,

On my MacBook Pro (OS X 10.4.11, 32 bit JDK 1.5), I have the following issue doing an mvn clean install with lift:
[INFO] Deleting directory /Users/dpp/Documents/svn/lift/lift-amqp/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Compiling 2 source files to /Users/dpp/Documents/svn/lift/lift-amqp/target/classes
[WARNING] warning: there were unchecked warnings; re-run with -unchecked for details
[WARNING] one warning found
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [scala:testCompile {execution: default}]
[INFO] [surefire:test]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(SurefirePlugin.java:594)
        at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:391)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 31 seconds
[INFO] Finished at: Fri Mar 14 09:55:35 PDT 2008
[INFO] Final Memory: 26M/47M
[INFO] ------------------------------------------------------------------------

And suggestions?

Thanks,

David

--
lift, the secure, simple, powerful web framework http://liftweb.net
Collaborative Task Management http://much4.us

David Bernard

unread,
Mar 14, 2008, 1:34:44 PM3/14/08
to liftweb
try mvn -U , there is an update of surfire last week.
If it not work, I'll fix the pom.xml (surfire had/has a bug that it
require presence of junit or testng).

On Mar 14, 5:58 pm, "David Pollak" <feeder.of.the.be...@gmail.com>
wrote:

Viktor Klang

unread,
Mar 14, 2008, 2:24:31 PM3/14/08
to lif...@googlegroups.com
DaveB, you rock man!

-V
--
_____________________________________
/ \
No Whine, just Cheese
\_____________________________________/

David Pollak

unread,
Mar 14, 2008, 2:28:51 PM3/14/08
to lif...@googlegroups.com

On Mar 14, 2008, at 10:34 AM, David Bernard wrote:

>
> try mvn -U , there is an update of surfire last week.
> If it not work, I'll fix the pom.xml (surfire had/has a bug that it
> require presence of junit or testng).

worked like a charm

--
David Pollak
http://blog.lostlake.org

Reply all
Reply to author
Forward
0 new messages