-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problem: Setting up dev. environment (NetBenas 6.1 IDE)
PostPosted: Fri Sep 05, 2008 4:41 am 
Newbie

Joined: Fri Sep 05, 2008 3:28 am
Posts: 1
Location: Germany
Hi everybody,
I´m new to Hibernate.
I try to setup the dev-env. While using updated NetBeans 6.1 on Windows Platform.
Maven and Hibernate Plug-ins for IDE are installed correctly.
Hibernate Core 3.3.0 SP1 and Hibernate EntityManager 3.4.0 GA libraries are downloaded and added correctly to the class path of first sample of Hibernate tutorial ( doc/reference/tutorial/web).
I use the GlassFish V2, which ins integrated in to IDE as Server for this sample.
However I get the following error, indicating that hibernate-core:jar is missing.
I need urgently your help.
Thank you in advance.
aski


-----

Scanning for projects...
project-execute
[#validate]
[ERROR]Transitive dependency resolution for scope: test has failed for your project.
[ERROR]Error message: Missing:
[ERROR]----------
[ERROR]1) org.hibernate:hibernate-core:jar:3.3.0.SP1
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-core -Dversion=3.3.0.SP1 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate-core -Dversion=3.3.0.SP1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR] 2) org.hibernate:hibernate-core:jar:3.3.0.SP1
[ERROR]2) org.hibernate:hibernate-testing:jar:3.3.0.SP1
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-testing -Dversion=3.3.0.SP1 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate-testing -Dversion=3.3.0.SP1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR] 2) org.hibernate:hibernate-testing:jar:3.3.0.SP1
[ERROR]3) hsqldb:hsqldb:jar:1.8.0.2
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=hsqldb -DartifactId=hsqldb -Dversion=1.8.0.2 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=hsqldb -DartifactId=hsqldb -Dversion=1.8.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR] 2) hsqldb:hsqldb:jar:1.8.0.2
[ERROR]4) commons-logging:commons-logging:jar:99.0-does-not-exist
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=commons-logging -DartifactId=commons-logging -Dversion=99.0-does-not-exist -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=commons-logging -DartifactId=commons-logging -Dversion=99.0-does-not-exist -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR] 2) commons-logging:commons-logging:jar:99.0-does-not-exist
[ERROR]5) commons-logging:commons-logging-api:jar:99.0-does-not-exist
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=commons-logging -DartifactId=commons-logging-api -Dversion=99.0-does-not-exist -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=commons-logging -DartifactId=commons-logging-api -Dversion=99.0-does-not-exist -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR] 2) commons-logging:commons-logging-api:jar:99.0-does-not-exist
[ERROR]----------
[ERROR]5 required artifacts are missing.
[ERROR]for artifact:
[ERROR] org.hibernate:hibernate-tutorial-web:war:3.3.0.SP1
[ERROR]from the specified remote repositories:
[ERROR] central (http://repo1.maven.org/maven2)
[ERROR]Group-Id: org.hibernate
[ERROR]Artifact-Id: hibernate-tutorial-web
[ERROR]Version: 3.3.0.SP1
[ERROR]From file: C:\a\5 downloads\Hibernate\hibernate-distribution-3.3.0.SP1\project\tutorials\web\pom.xml
------------------------------------------------------------------------
For more information, run with the -e flag
------------------------------------------------------------------------
BUILD FAILED
------------------------------------------------------------------------
Total time: 9 seconds
Finished at: Fri Sep 05 09:11:10 CEST 2008
Final Memory: 32M/72M


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.