Converted mvn project to eclipse and it's not working

387 views
Skip to first unread message

80Vikram

unread,
Dec 19, 2013, 5:40:15 AM12/19/13
to thucydid...@googlegroups.com
Hi All,

I have done setup and it's working fine when run from command prompt.

Later I converted it to eclipse project using  mvn eclipse:eclipse

Then I imported the project in eclipse but it's giving errors , please refer to attached screen shot.

Please let me know work around

Thanks and Regards,
Vikram



Screen Shot 2013-12-19 at 11.37.41.jpg

John Smart

unread,
Dec 19, 2013, 5:41:43 AM12/19/13
to 80Vikram, thucydid...@googlegroups.com
I don't use Eclipse much anymore, but it looks like you need to define the M2_REPO environment variable - it should point to the .m2 directory in your home directory.

19 December 2013 9:40 pm
--
You received this message because you are subscribed to the Google Groups "Thucydides Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send an email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
-- 
___________________________________________________
John Smart | Wakaleo Consulting  |  +61 407 247 642
Optimizing your software development process
http://www.wakaleo.com  |  john....@wakaleo.com
___________________________________________________

Check out our upcoming BDD/TDD Master classes, coming 
soon to Sydney, Melbourne, Canberra, Brisbane and Perth
___________________________________________________
 
john_smart.vcf

80Vikram

unread,
Dec 19, 2013, 5:42:01 AM12/19/13
to thucydid...@googlegroups.com
Description    Resource    Path    Location    Type
Unbound classpath variable: 'M2_REPO/net/sourceforge/cssparser/cssparser/0.9.9/cssparser-0.9.9.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/sourceforge/htmlunit/htmlunit-core-js/2.12/htmlunit-core-js-2.12.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/asm/asm/3.3.1/asm-3.3.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/junit/junit-dep/4.8.2/junit-dep-4.8.2.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/jhlabs/filters/2.0.235/filters-2.0.235.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/beust/jcommander/1.30/jcommander-1.30.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/sf/flexjson/flexjson/2.1/flexjson-2.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-jxpath/commons-jxpath/1.3/commons-jxpath-1.3.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/google/inject/guice/3.0/guice-3.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/opera/operalaunchers/1.1/operalaunchers-1.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/opera/operadriver/1.4/operadriver-1.4.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/junit/junit/4.11/junit-4.11.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-io/commons-io/2.4/commons-io-2.4.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/joda-time/joda-time/2.0/joda-time-2.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-codec/commons-codec/1.6/commons-codec-1.6.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/google/guava/guava/14.0.1/guava-14.0.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/cglib/cglib/2.2.2/cglib-2.2.2.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.2.0/jackson-databind-2.2.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.2.0/jackson-annotations-2.2.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/googlecode/lambdaj/lambdaj/2.3.3/lambdaj-2.3.3.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/fasterxml/jackson/core/jackson-core/2.2.0/jackson-core-2.2.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/thoughtworks/xstream/xstream/1.4.1/xstream-1.4.1.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/com/github/detro/ghostdriver/phantomjsdriver/1.0.4/phantomjsdriver-1.0.4.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/io/netty/netty/3.5.2.Final/netty-3.5.2.Final.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/net/sf/opencsv/opencsv/2.0/opencsv-2.0.jar' in project 'webtests'    webtests        Build path    Build Path Problem
Unbound classpath variable: 'M2_REPO/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar' in project 'webtests'    webtests        Build path    Build Path Problem



*** for some reason attachment is not working , thus posting error message here.

80Vikram

unread,
Dec 19, 2013, 6:01:09 AM12/19/13
to thucydid...@googlegroups.com

John Smart

unread,
Dec 19, 2013, 6:04:24 AM12/19/13
to 80Vikram, thucydid...@googlegroups.com
Personally I prefer IntelliJ, but any Java IDE should be fine.

19 December 2013 10:01 pm
Thanks John.

It worked

http://stackoverflow.com/questions/7185190/unbound-class-path-variable-java-android-eclipse-problem

http://www.mkyong.com/maven/how-to-configure-m2_repo-variable-in-eclipse-ide/


 If I want to add new test cases which IDE is best suited ?

Regards,
Vikram



On Thursday, December 19, 2013 11:42:01 AM UTC+1, 80Vikram wrote:
--
You received this message because you are subscribed to the Google Groups "Thucydides Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send an email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
john_smart.vcf

80Vikram

unread,
Dec 19, 2013, 6:16:00 AM12/19/13
to thucydid...@googlegroups.com, 80Vikram
Ok.

Thanks,
Vikram

80Vikram

unread,
Dec 19, 2013, 1:10:36 PM12/19/13
to thucydid...@googlegroups.com, 80Vikram
Hi John,

This problem is coming for thucydides-demo project.

I've done setup as discussed earlier and it is working perfectly for sample projects created with mvn archetype:generate

I cloned the github repository and wanted to run thucydides-demo and I've observed it's Java Build Path > Libraries doesn't have all the libraries under M2_REPO .

how to solve this issue

Thanks and Regards,
Vikram
Reply all
Reply to author
Forward
0 new messages