On May 21, 2009, at 8:38 AM, Jesus Ibañez Calvo wrote:
Hello Stefane, Thks. for your reply, im using the follow:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-
b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
is it right?
Yes.
Can you send a full (recursive, à la "ls -R" or "find .") listing of
what's in your jboss after you've done the deploy ?
S.
thks. in advanced.
Jesus
On Thu, May 21, 2009 at 1:14 AM, Stefane Fermigier <[email protected]>
wrote:
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
--
Jesus
--
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