On May 21, 2009, at 4:43 AM, Jesus Ibañez Calvo wrote:
Hello again!!
First of all thks. foy your reply Anahide, Tiry and Stefan, after
downgrading to maven 2.0.9 and doing "ant clean", "mvn eclipse:clean
eclipse:eclipse", "ant patch" and "ant deploy", deploying was
successfull.
Now, i have another problem when i start the jboss SA, my version is
4.2.3.GA (see server log attached )
The first error is java.lang.NoClassDefFoundError: javax/annotation/
Resource
This means that a very basic library (javax.annotation), which should
be provided by jboss, is missing.
Which version of Java are you using, BTW ?
And looking for somthing wrong in the pom.xml, the default value for
"jboss.version" is 4.0.4.GA, so i changed it for 4.2.3 and deploying
again i get the next error:
You don't need to change this property. We're only using these jboss
package as compile-time dependencies, the relevant packages are
provided by JBoss, there haven't been any API changes between these
versions and we don't need to upgrade. Besides, JBoss itself is not
very consistent in the way they are numbering their artifacts, and
simply changing 4.0.4.GA to 4.2.3.GA everywhere doesn't work.
(Of course, if someone, for the sake of consistency, wants to send us
an upgraded POM with the most recent JBoss 4.2.x dependencies, I can't
hurt, as long as all the tests pass, and we will upgrade the POM, but
it shouldn't matter).
S.
----------------------------------------------------------------
Downloading:
http://maven.nuxeo.org/public/jboss/javassist/4.2.3.GA/javassist-4.2.3.GA.jar
Downloading:
http://repo1.maven.org/maven2/jboss/javassist/4.2.3.GA/javassist-4.2.3.GA.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) jboss:javassist:jar:4.2.3.GA
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jboss -
DartifactId=javassist -Dversion=4.2.3.GA -Dpackaging=jar -Dfile=/
path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=javassist -
Dversion=4.2.3.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to dependency:
1) org.nuxeo.ecm.platform:nuxeo-platform-placeful-core:jar:5.2.0
2) org.hibernate:hibernate-entitymanager:jar:3.2.0.ga
3) jboss:javassist:jar:4.2.3.GA
----------
1 required artifact is missing.
for artifact:
org.nuxeo.ecm.platform:nuxeo-platform-placeful-core:jar:5.2.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
public (http://maven.nuxeo.org/public),
public-snapshot (http://maven.nuxeo.org/public-snapshot)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 52 seconds
[INFO] Finished at: Wed May 20 20:14:03 CDT 2009
[INFO] Final Memory: 100M/183M
[INFO]
------------------------------------------------------------------------
-------------------------------------------------------------------------------
i´ve tried to get this file in the repositories indicated above but
i can not look for it.
could you help me on this?
Thks. in advanced.
Jesus
<server.log>_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier
New: join the Nuxeo Group on LinkedIn: http://www.linkedin.com/groups?gid=43314
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm