Only 1 VM in the PATH and it is the first one in the path (D:\Program 
Files\Java\jdk1.5.0_06\bin)

Naresh
 

-----Original Message-----
From: Felipe Gaúcho [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 2:42 PM
To: Maven Users List
Subject: Re: RE: Error with maven-archetype-j2ee-simple

verify also if some other VM is in your PATH variable, like the IBM
websphere ones or an old configuration...

good luck my friend :)


On 6/16/06, Naresh Bhatia <[EMAIL PROTECTED]> wrote:
>
> Yep, JAVA_HOME=D:\Program Files\Java\jdk1.5.0_06 which is where my JDK is
> installed. I agree, sometimes it is stupid things like this that can cause
> the problem - but it is not this one :-). May be it is just a matter of
> waiting for the next version with the fix.
>
> Naresh
>
>
> -----Original Message-----
> From: Felipe Gaúcho [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 16, 2006 1:58 PM
> To: Maven Users List
> Subject: Re: RE: Error with maven-archetype-j2ee-simple
>
> did you set the JAVA_HOME ?
>
> * I know it could be stupid answers, but sometimes the problem is just
> like
> that....
>
>
> On 6/16/06, Naresh Bhatia <[EMAIL PROTECTED]> wrote:
> >
> > Yep, that's exactly the problem. Any idea on release cycle of
> > maven-archetype?
> >
> > Thanks.
> > Naresh
> >
> >
> > -----Original Message-----
> > From: Kieran Brady [mailto:[EMAIL PROTECTED]
> > Sent: Friday, June 16, 2006 12:17 PM
> > To: users@maven.apache.org
> > Subject: RE: RE: Error with maven-archetype-j2ee-simple
> >
> > I think this is your problem:
> >
> > http://jira.codehaus.org/browse/ARCHETYPE-36
> >
> > Seems it was fixed early this week so you may need to build it from
> source
> > or wait for the next release.
> >
> > >Thanks Felipe. Unfortunately, -U does not help. I even wiped out the
> > entire m2
> > >repository and tried from scratch. I still get the same two errors:
> > >
> > >[ERROR] ResourceManager : unable to find resource
> 'VM_global_library.vm'
> > in
> > >any resource loader.
> > >...
> > >[ERROR] ResourceManager : unable to find resource
> > >'archetype-resources/site/pom.xml' in any resource loader.
> > >
> > >Naresh
> > >
> > >-----Original Message-----
> > >From: Felipe Gaúcho [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, June 16, 2006 11:47 AM
> > >To: Maven Users List
> > >Subject: Re: Error with maven-archetype-j2ee-simple
> > >
> > >I was having several problems with the maven until I started to run the
> > >command with the -U flag.. it forced the maven to update its libraries
> > and
> > >the things started to happens.....
> > >
> > >On 6/16/06, Naresh Bhatia <[EMAIL PROTECTED]> wrote:
> > >
> > >> I am running the following command to generate a simple J2EE app:
> > >>
> > >>
> > >>
> > >>    mvn archetype:create -DgroupId=TestEarApp -DartifactId=TestEarApp
> > >> -DarchetypeArtifactId=maven-archetype-j2ee-simple
> > >>
> > >>
> > >>
> > >> But I am getting the following error. Can someone give me a helping
> > hand
> > >> on this one?
> > >>
> > >>
> > >>
> > >> [INFO] Scanning for projects...
> > >>
> > >> [INFO] Searching repository for plugin with prefix: 'archetype'.
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >> ----
> > >>
> > >> [INFO] Building Maven Default Project
> > >>
> > >> [INFO]    task-segment: [archetype:create] (aggregator-style)
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >> ----
> > >>
> > >> [INFO] Setting property: classpath.resource.loader.class =>
> > >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> > >>
> > >> [INFO] Setting property: resource.loader => 'classpath'.
> > >>
> > >> [INFO] **************************************************************
> > >>
> > >> [INFO] Starting Jakarta Velocity v1.4
> > >>
> > >> [INFO] RuntimeInstance initializing.
> > >>
> > >> [INFO] Default Properties File:
> > >> org\apache\velocity\runtime\defaults\velocity.properties
> > >>
> > >> [INFO] Default ResourceManager initializing. (class
> > >> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > >>
> > >> [INFO] Resource Loader Instantiated:
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ClasspathResourceLoader : initialization starting.
> > >>
> > >> [INFO] ClasspathResourceLoader : initialization complete.
> > >>
> > >> [INFO] ResourceCache : initialized. (class
> > >> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > >>
> > >> [INFO] Default ResourceManager initialization complete.
> > >>
> > >> [INFO] Loaded System Directive:
> > >> org.apache.velocity.runtime.directive.Literal
> > >>
> > >> [INFO] Loaded System Directive:
> > >> org.apache.velocity.runtime.directive.Macro
> > >>
> > >> [INFO] Loaded System Directive:
> > >> org.apache.velocity.runtime.directive.Parse
> > >>
> > >> [INFO] Loaded System Directive:
> > >> org.apache.velocity.runtime.directive.Include
> > >>
> > >> [INFO] Loaded System Directive:
> > >> org.apache.velocity.runtime.directive.Foreach
> > >>
> > >> [INFO] Created: 20 parsers.
> > >>
> > >> [INFO] Velocimacro : initialization starting.
> > >>
> > >> [INFO] Velocimacro : adding VMs from VM library template :
> > >> VM_global_library.vm
> > >>
> > >> [ERROR] ResourceManager : unable to find resource
> > 'VM_global_library.vm'
> > >> in any resource loader.
> > >>
> > >> [INFO] Velocimacro : error using  VM library template
> > >> VM_global_library.vm :
> > >> org.apache.velocity.exception.ResourceNotFoundException: Unable to
> find
> > >> resource 'VM_global_library.vm'
> > >>
> > >> [INFO] Velocimacro :  VM library template macro registration
> complete.
> > >>
> > >> [INFO] Velocimacro : allowInline = true : VMs can be defined inline
> in
> > >> templates
> > >>
> > >> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined
> inline
> > >> may NOT replace previous VM definitions
> > >>
> > >> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
> will
> > >> be  global in scope if allowed.
> > >>
> > >> [INFO] Velocimacro : messages on  : VM system will output logging
> > >> messages
> > >>
> > >> [INFO] Velocimacro : autoload off  : VM system will not automatically
> > >> reload global library macros
> > >>
> > >> [INFO] Velocimacro : initialization complete.
> > >>
> > >> [INFO] Velocity successfully started.
> > >>
> > >> [INFO] [archetype:create]
> > >>
> > >> [INFO] Defaulting package to group ID: TestEarApp
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >> ----
> > >>
> > >> [INFO] Using following parameters for creating Archetype:
> > >> maven-archetype-j2ee-simple:RELEASE
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >> ----
> > >>
> > >> [INFO] Parameter: groupId, Value: TestEarApp
> > >>
> > >> [INFO] Parameter: outputDirectory, Value:
> > >> D:\ProjectsTest\Maven2\TestEarApp
> > >>
> > >> [INFO] Parameter: packageName, Value: TestEarApp
> > >>
> > >> [INFO] Parameter: package, Value: TestEarApp
> > >>
> > >> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> > >>
> > >> [INFO] Parameter: artifactId, Value: TestEarApp
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/pom.xml with
> loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ********************* End of debug info from resources from
> > >> generated POM ***********************
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/pom.xml with
> loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/ear/pom.xml with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/ejbs/src/main/resources/META-INF/ejb-jar.xml with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/ejbs/pom.xml with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/primary-source/pom.xml with loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/projects/logging/pom.xml with loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/projects/pom.xml
> > with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found archetype-resources/servlets/pom.xml
> > with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/servlets/servlet/pom.xml with loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/servlets/servlet/src/main/webapp/index.jsp with
> > >> loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [INFO] ResourceManager : found
> > >> archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml
> > >> with loader
> > >> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > >>
> > >> [ERROR] ResourceManager : unable to find resource
> > >> 'archetype-resources/site/pom.xml' in any resource loader.
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >> [ERROR] BUILD ERROR
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >> [INFO] Error creating from archetype
> > >>
> > >>
> > >>
> > >> Embedded error: Error processing templates.
> > >>
> > >> Unable to find resource 'archetype-resources/site/pom.xml'
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >> [INFO] For more information, run Maven with the -e switch
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >> [INFO] Total time: 2 seconds
> > >>
> > >> [INFO] Finished at: Fri Jun 16 11:39:34 EDT 2006
> > >>
> > >> [INFO] Final Memory: 4M/7M
> > >>
> > >> [INFO]
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >>
> > >>
> > >> Naresh
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to