--- [EMAIL PROTECTED] wrote:
> hello,
> 
> I am a new user of andromda.
> I have tried, without success, to build and deploy
> the 'car-rental-system'
> sample.
> I have used both andromda 3.0M1 and 3.0M2 with maven
> 1.0-rc4, and got the
> same problem with those two versions.
> 
> As far as I can understand the log, the problem
> seems to come from
> 'maven-deploy-plugin'.
> In fact I am not sure if it is a andromda or a maven
> problem.
> I search the mailling list archive, but can't find a
> solution.
> 
> Here is a part of the log :
> 
>   10:41:39,343 INFO  [ReactorTag]
> +----------------------------------------
>   10:41:39,343 INFO  [ReactorTag] | Executing
> multiproject:install-callback Car Rental Sample
> Common
>   10:41:39,343 INFO  [ReactorTag] | Memory: 32M/36M
>   10:41:39,343 INFO  [ReactorTag]
> +----------------------------------------
>   ...
>   multiproject:install-callback:
>        [echo] Running jar:install for Car Rental
> Sample Common
>   10:41:40,000 ERROR [GetTag] Plugin
> 'maven-deploy-plugin' in project
> 'Car Rental Sample Common' is not available
>   ...
>   10:42:11,468 INFO  [ReactorTag]
> +----------------------------------------
>   10:42:11,468 INFO  [ReactorTag] | Executing
> multiproject:install-callback Car Rental Sample
> Hibernate Sar
>   10:42:11,468 INFO  [ReactorTag] | Memory: 29M/42M
>   10:42:11,468 INFO  [ReactorTag]
> +----------------------------------------
>   ...
>   multiproject:install-callback:
>        [echo] Running sar:install for Car Rental
> Sample Hibernate Sar
>   10:42:11,656 ERROR [GetTag] Plugin
> 'maven-deploy-plugin' in project
> 'Car Rental Sample Hibernate Sar' is not available
>   ...
> 
> In spite of those errors the build process continu
> 
>   ...
>   10:42:29,078 INFO  [App] BUILD SUCCESSFUL
> 
> but the ear file can't be deployed with Jboss&Jetty,
> when I try, the
> following error occur
> 
>   ...
>   10:43:27,515 INFO  [jetty] Started
>
WebApplicationContext[/car-rental-sample-web-3.0M1,file:/D:/plateformeJ2EE/jboss-3.2.4/server/default/tmp/deploy/tmp44668car-rental-sample-web-3.0M1.war/]
>   10:43:27,843 WARN  [ServiceController] Problem
> starting service
>
jboss.web.deployment:war=car-rental-sample-web-3.0M1.war,id=619535930
>   RuntimeErrorException:
> java.lang.NoClassDefFoundError:
> org/apache/commons/beanutils/Converter
>   Cause: java.lang.NoClassDefFoundError:
> org/apache/commons/beanutils/Converter
>           at
>
org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99)
>           at
>
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
>   ...

It has nothing to do with Maven, it has to do with the
fact that a class in commons beanutils can't be found.
 It looks like you're deploying the war instead of the
ear, try deploying the ear in the
car-rental-system/app directory.  The war depends on
libraries (like commons-beanutils) that exist in the
ear.  Also just so you know, the car rental sample may
not even work correctly (we haven't tested it much
since moving it to AndroMDA 3.x).  The animal quiz is
the sample that should be used.

> 
> I have found in the maven's bug traker something
> about
> 'maven-deploy-plugin', but it does't help me a lot.
> (maven-deploy-plugin
> seems to be 'deprecated'...)
> http://jira.codehaus.org/browse/MAVEN-1350
> 
> Is this a known problem between this version of
> andromda and this version
> of maven ?
> Is there any workaround ?
> Is it possible to use ant instead of maven to build
> the sample app (I
> can't see build.xml file for the samples) ?

No not possible, however their is an ant tool that can
generate an ant project for you.

> 
> regards.
> 
> 
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings &
> Training.
> Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 - 
> digital self defense, top technical experts, no
> vendor pitches, 
> unmatched networking opportunities. Visit
> www.blackhat.com
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to