I am also getting this error, but I didn't have it a few days ago. My co-worker is also having this same problem. We are both new to maven and tapestry and don't know how to fix it. Is there a problem with something on the server we are downloading from when we type in the command?
Shuaib Cader-2 wrote: > > Hi there > > > > My name is Shuaib Cader. I am relatively new to web development and was > task > to learn how to use Tapestry. I am following the tutorial that you have > provided on the website but I am getting the following error when trying > to > a project using the maven archetype. I have use the archetype before and I > had no problems. See the error highlighted in RED. Am I doing something > incorrect? > > > > *C:\DEV\workspace>mvn archetype:create > -DarchetypeGroupId=org.apache.tapestry -Da* > > *rchetypeArtifactId=quickstart -DgroupId=za.co.easypay -DartifactId=PMF > -Dpackage* > > *Name=za.co.easypay.PMF* > > *[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: velocimacro.messages.on => 'false'.* > > *[INFO] Setting property: resource.loader => 'classpath'.* > > *[INFO] Setting property: resource.manager.logwhenfound => 'false'.* > > *[INFO] *************************************************************** > > *[INFO] Starting **Jakarta** Velocity v1.4* > > *[INFO] RuntimeInstance initializing.* > > *[INFO] Default Properties File: org\apache\velocity\runtime\defaults\ > velocity.pr* > > *operties* > > *[INFO] Default ResourceManager initializing. (class > org.apache.velocity.runtime.* > > *resource.ResourceManagerImpl)* > > *[INFO] Resource Loader Instantiated: > org.codehaus.plexus.velocity.ContextClassLo* > > *aderResourceLoader* > > *[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 'V* > > *M_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 > glob* > > *al in scope if allowed.* > > *[INFO] Velocimacro : initialization complete.* > > *[INFO] Velocity successfully started.* > > *[INFO] [archetype:create]* > > *[INFO] > -------------------------------------------------------------------------* > > *---* > > *[INFO] Using following parameters for creating Archetype: > quickstart:RELEASE* > > *[INFO] > -------------------------------------------------------------------------* > > *---* > > *[INFO] Parameter: groupId, Value: za.co.easypay* > > *[INFO] Parameter: packageName, Value: za.co.easypay.PMF* > > *[INFO] Parameter: basedir, Value: C:\DEV\workspace* > > *[INFO] Parameter: package, Value: za.co.easypay.PMF* > > *[INFO] Parameter: version, Value: 1.0-SNAPSHOT* > > *[INFO] Parameter: artifactId, Value: PMF* > > *[INFO] > ------------------------------------------------------------------------* > > *[ERROR] BUILD ERROR* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] Error creating from archetype* > > * * > > *Embedded error: The META-INF/maven/archetype.xml descriptor cannot be > found.* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] For more information, run Maven with the -e switch* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] Total time: 2 seconds* > > *[INFO] Finished at: Fri Feb 27 **14:16:56** CAT 2009* > > *[INFO] Final Memory: 5M/9M* > > *[INFO] > ------------------------------------------------------------------------* > > * * > > *C:\DEV\workspace>* > > -- View this message in context: http://www.nabble.com/Archetype-Error-tp22247532p22252368.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org