If you've run "appfuse:full-source" then all the packages should've
changed from org.appfuse to yourGroupId. You should search for
org.appfuse and change it where you find it. Or try running
full-source again.

Matt

On 3/8/08, gederer <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  I just created a new AppFuse project, and ran mvn appfuse:full-source.  I
>  also made a couple of modifications to User.java and Address.java (but, I
>  suspect that isn't what's causing this problem).
>
>  Now, when I run mvn -Dmaven.test.skip=true jetty:run, I get the following
>  output:
>
>  DEBUG [main] StartupListener.contextInitialized(38) | Initializing
>  context...
>  DEBUG [main] StartupListener.contextInitialized(77) | Remember Me Enabled?
>  true
>  DEBUG [main] StartupListener.contextInitialized(79) | Password Encryptor:
>  org.acegisecurity.providers.encoding.ShaPasswordEncoder
>  DEBUG [main] StartupListener.contextInitialized(81) | Populating
>  drop-downs...
>  2008-03-08 17:14:36.545::WARN:  Failed startup of context
>  [EMAIL PROTECTED]/,/Users/gregederer/dev/sbdigs/src/main/webapp}
>  java.lang.ClassCastException: $Proxy25
>         at
>  
> com.sbdigs.webapp.listener.StartupListener.setupContext(StartupListener.java:93)
>         at
>  
> com.sbdigs.webapp.listener.StartupListener.contextInitialized(StartupListener.java:84)
>         at
>  
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:539)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>         at
>  org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1216)
>         at
>  org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
>         at
>  org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447)
>         at
>  
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
>         at
>  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at
>  
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at
>  
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>         at
>  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at
>  
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at
>  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at
>  org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
>         at org.mortbay.jetty.Server.doStart(Server.java:222)
>         at
>  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at
>  
> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>         at
>  
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:337)
>         at
>  
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:279)
>         at
>  
> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
>         at
>  org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:182)
>         at
>  
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at
>  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
>  org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>  2008-03-08 17:14:36.562::INFO:  Started [EMAIL PROTECTED]:8080
>  [INFO] Started Jetty Server
>  [INFO] Starting scanner at interval of 3 seconds.
>
>  I saw some other threads on a similar issue where a suggested remedy was to
>  add dependency entries for commons lang and commons beanutils to the pom.
>  But, I already have these in my pom (out of the box).  Also, I have run rm
>  -r src/main/webapp/WEB-INF/classes and mvn clean.
>
>  Any suggestions?
>
>  Thanks!
>
>  Greg
>
> --
>  View this message in context: 
> http://www.nabble.com/ClassCastException%3A-%24Proxy25-tp15922748s2369p15922748.html
>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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