You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "F. Da Costa Gomez" <dc...@fixed.com> on 2003/06/09 17:25:29 UTC

Approaching ga-ga point on 3.0

Following the part of a component spec that worked perfectly fine in 2.4-a5.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE component-specification PUBLIC "-//Apache Software 
Foundation//Tapestry Specification 1.4//EN" 
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">

<component-specification 
class="net.sf.tacos.tree.components.CTreeNodeView" allow-body="yes" 
allow-informal-parameters="yes">
    <parameter name="closeNodeImage" type="org.apache.tapestry.IAsset" 
required="no" direction="in"/>
    ...
</component-specification>

File is properly validated by the XML validator in Eclipse 2.1.

In 3.0 it throws the error seen below.
Normally this means a typo or the name was not changed after moving a 
class. None of that happened.
The component was also defined properly in the .app file.

net.sf.tacos.tree.components.CTreeNodeView is absolutely there, no 
question about it.
Nothing changed in the spec other than the 3.0 stuff. :-(

Any help greatly appreciated
TIA
Fermin DCG
===================================

You may continue by *restarting 
<http://localhost:8080/t2/app?service=restart>* the session.

org.apache.tapestry.ApplicationRuntimeException
Could not load class net.sf.tacos.tree.components.CTreeNodeView from 
WebappClassLoader available: Extension[org.apache.commons.beanutils, 
implementationVendor=Apache Software Foundation, 
implementationVersion=1.6, specificationVendor=Apache Software 
Foundation, specificationVersion=1.6] 
Extension[org.apache.commons.collections, implementationVendor=Apache 
Software Foundation, implementationVersion=2.1, 
specificationVendor=Apache Software Foundation, 
specificationVersion=2.1] Extension[org.apache.commons.digester, 
implementationVendor="Apache Software Foundation", 
implementationVersion="1.4.1", specificationVendor="Apache Software 
Foundation", specificationVersion="1.4"] Extension[commons-lang, 
implementationVendor=Apache Software Foundation, 
implementationVersion=1.0, specificationVendor=Apache Software 
Foundation, specificationVersion=1.0] 
Extension[org.apache.commons.logging, implementationVendor=Apache 
Software Foundation, implementationVersion=1.0.2, 
specificationVendor=Apache Software Foundation, 
specificationVersion=1.0] delegate: false repositories: 
/WEB-INF/classes/ required: ----------> Parent Classloader: 
StandardClassLoader available: delegate: true repositories: 
file:C:\tomcat4\shared\classes\ required: ----------> Parent 
Classloader: StandardClassLoader available: 
Extension[org.apache.tools.ant, implementationVendor=Apache Software 
Foundation, implementationVersion=1.5.1, specificationVendor=Apache 
Software Foundation, specificationVersion=1.5.1] 
Extension[org.apache.commons.collections, implementationVendor=Apache 
Software Foundation, implementationVersion=2.1, 
specificationVendor=Apache Software Foundation, 
specificationVersion=2.1] Extension[org.apache.commons.logging, 
implementationVendor=Apache Software Foundation, 
implementationVersion=1.0.2, specificationVendor=Apache Software 
Foundation, specificationVersion=1.0] delegate: true repositories: 
file:C:\tomcat4\common\classes\ file:C:\tomcat4\common\lib\ant.jar 
file:C:\tomcat4\common\lib\commons-collections.jar 
file:C:\tomcat4\common\lib\commons-logging-api.jar 
file:C:\tomcat4\common\lib\jasper-compiler.jar 
file:C:\tomcat4\common\lib\jasper-runtime.jar 
file:C:\tomcat4\common\lib\naming-common.jar 
file:C:\tomcat4\common\lib\naming-factory.jar 
file:C:\tomcat4\common\lib\naming-resources.jar 
file:C:\tomcat4\common\lib\servlet.jar 
file:C:\tomcat4\common\lib\tools.jar required: ----------> Parent 
Classloader: sun.misc.Launcher$AppClassLoader@e80a59 : 
org/apache/tapestry/spec/IComponentSpecification
 
java.lang.NoClassDefFoundError
org/apache/tapestry/spec/IComponentSpecification