I found the problem, I used intellij idea to create the project using the
quickstart example and it renamed the package to different name but the
web.xml did not get modified. I fixed the web.xml and it works fine now.

Thanks



Johan Compagner wrote:
> 
> what happens if you use Examples?
> 
> i dont know jboss that well, but under the hood it is tomcat so it should
> wrk fine
> 
> On Wed, Mar 26, 2008 at 11:15 PM, surya009 <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Yes all I did was took the quickstart sample application and added
>> jboss-web.xml as shown below
>>
>> <jboss-web>
>>    <context-root>/</context-root>
>> </jboss-web>
>>
>> Did I miss anythingw here, I tried added classloader config below to
>> jboss-web.xml but even then I got the same exception.
>>
>> <jboss-web>
>>        <class-loading java2ClassLoadingCompliance="false">
>>                <loader-repository>
>>                        wicket.quickstart:loader=wicket-quickstart.war
>>
>>
>> <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
>>                </loader-repository>
>>        </class-loading>
>>    <context-root>/</context-root>
>> </jboss-web>
>>
>>
>>
>>
>> Johan Compagner wrote:
>> >
>> > are you sure you deployed your webapp ok?
>> > ClassNotFound does tell a lot
>> >
>> > On Wed, Mar 26, 2008 at 6:54 PM, surya009 <
>> > [EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hello All,
>> >>           I am evaluating wicket for the first time and trying to
>> deploy
>> >> the quickstart application from jboss but no luck so far, I get
>> following
>> >> exceptions. Looks like the jboss class loader is having problem
>> loading
>> >> wicket classes.
>> >>
>> >>
>> >> wicket.WicketRuntimeException: Unable to create application of class
>> >> wicket.quickstart.QuickStartApplication
>> >>        at
>> >>
>> wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(
>> >> ContextParamWebApplicationFactory.ja
>> >> va:68)
>> >>        at wicket.protocol.http.WicketServlet.init(WicketServlet.java
>> :275)
>> >>        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>> >>        at
>> >> org.apache.catalina.core.StandardWrapper.loadServlet(
>> StandardWrapper.java
>> >> :1105)
>> >>        at
>> >>
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>> >>        at
>> >> org.apache.catalina.core.StandardContext.loadOnStartup(
>> >> StandardContext.java:3917)
>> >>        at
>> >> org.apache.catalina.core.StandardContext.start(StandardContext.java
>> :4201)
>> >>        at
>> >> org.apache.catalina.core.ContainerBase.addChildInternal(
>> ContainerBase.java
>> >> :759)
>> >>
>> >>        .....................
>> >>        ....................
>> >>
>> >>        at
>> >>
>> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(
>> >> AbstractDeploymentScanner.java:225)
>> >> Caused by: java.lang.ClassNotFoundException:
>> >> wicket.quickstart.QuickStartApplication
>> >>        at
>> >> org.apache.catalina.loader.WebappClassLoader.loadClass(
>> >> WebappClassLoader.java:1352)
>> >>        at
>> >> org.apache.catalina.loader.WebappClassLoader.loadClass(
>> >> WebappClassLoader.java:1198)
>> >>
>> >> Thanks,
>> >> Suresh
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Deploying-quickstart-application-in-Jboss-tp16309156p16309156.html
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Deploying-quickstart-application-in-Jboss-tp16309156p16317650.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Deploying-quickstart-application-in-Jboss-tp16309156p16334546.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to