• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using Maven
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Maven


  • Subject: Using Maven
  • From: Jeff Schmitz <email@hidden>
  • Date: Wed, 28 Dec 2011 16:24:24 -0600

Hello all,
   I have been reading up on Maven the past few days and wanted to give it a try with a webobjects project.  So I've tried following the Quick Start process outlined here:

http://wiki.wocommunity.org/display/WOL/Quick+Start

I ran the following bootstrap command:

mvn wobootstrap:install -DwebObjectsLibFolder=/Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/lib -DwebObjectsVersion=5.4.3

and the following archetype command to create the project:

mvn archetype:generate -DarchetypeArtifactId=erxapplication-archetype \
        -DarchetypeGroupId=org.objectstyle.woproject.maven2 \
        -DarchetypeVersion=2.1


Everything seems to have gone well until step 5.  After importing into Eclipse the project created by the webobjects archetype command, I'm unable to get it to run from within eclipse.  I setup a debug configuration, but when I try to debug I get:

Exception in thread "main" java.lang.NoClassDefFoundError: com/test/components/Main

I think I have the required frameworks in my build path, so I'm not sure why it can't find class Main, which does exist in the project in src/main/java/com/test/components/Main.java

Any ideas what's going on?

Thanks,
Jeff
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Delete button on ERAttachment?
  • Next by Date: Do you use tabs or spaces to indent?
  • Previous by thread: Delete button on ERAttachment?
  • Next by thread: Do you use tabs or spaces to indent?
  • Index(es):
    • Date
    • Thread