isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Error with IntelliJ running simpleapp 1.8
Date Tue, 03 Mar 2015 15:55:19 GMT
The meaningful error is : Caused by: java.lang.ClassNotFoundException:
domainapp.webapp.SimpleApplication
For some reason the class is not in the classpath.

Check whether "Use classpath of module" uses the -webapp module.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Mar 3, 2015 at 4:32 PM, German Vivero <
german.vivero@colonia-suiza.com> wrote:

> This is a log -> https://gist.github.com/dgvivero/98499f6b119fa66a9fd0
>
> I follow this
> http://isis.apache.org/intro/getting-started/ide/intellij.html
>
> 2015-03-03 14:24 GMT+00:00 Martin Grigorov <mgrigorov@apache.org>:
>
> > OK, it is Jetty.
> > Can you upload the complete log somewhere ? Some pastebin service.
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Mar 3, 2015 at 4:21 PM, German Vivero <
> > german.vivero@colonia-suiza.com> wrote:
> >
> > > Hi this all I've found rigth through IntelliJ console:
> > > 11:17:19,577  [InstallerLookup      main       INFO ]  component
> > installer
> > > not found; it will not be available:
> > >
> > >
> >
> org.apache.isis.core.runtime.imageloader.awt.TemplateImageLoaderAwtInstaller
> > > 11:17:19,578  [InstallerLookup      main       INFO ]  component
> > installer
> > > not found; it will not be available:
> > >
> > >
> >
> org.apache.isis.core.runtime.imageloader.noop.TemplateImageLoaderNoopInstaller
> > > 11:17:19,630  [OptionHandlerSystemProperties main       INFO ]  priming
> > > configuration builder: 0 properties to prime
> > > 11:17:19,630  [IsisConfigurationBuilderResourceStreams main       INFO
> ]
> > > loading properties from isis.properties
> > > 11:17:19,649  [log                  main       INFO ]  Logging to
> > > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> > > org.mortbay.log.Slf4jLog
> > > 11:17:19,678  [WebServerBootstrapper main       INFO ]  starting Jetty
> on
> > > port 8080 to serve webapp
> > > 11:17:19,678  [log                  main       INFO ]  jetty-6.1.26
> > > 11:17:19,753  [log                  main       INFO ]  NO JSP Support
> > for ,
> > > did not find org.apache.jasper.servlet.JspServlet
> > > 11:17:19,875  [                     main       INFO ]  Initializing
> Shiro
> > > environment
> > > 11:17:19,875  [EnvironmentLoader    main       INFO ]  Starting Shiro
> > > environment initialization.
> > > 11:17:20,051  [AuthorizingRealm     main       INFO ]  No cache or
> > > cacheManager properties have been set.  Authorization cache cannot be
> > > obtained.
> > > 11:17:20,051  [IniSecurityManagerFactory main       INFO ]  Realms have
> > > been explicitly set on the SecurityManager instance - auto-setting of
> > > realms will not occur.
> > > 11:17:20,052  [EnvironmentLoader    main       INFO ]  Shiro
> environment
> > > initialized in 177 ms.
> > > 11:17:20,165  [ResteasyDeployment   main       INFO ]  Deploying
> > > javax.ws.rs.core.Application: class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,167  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.HomePageResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.DomainTypeResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.UserResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.DomainObjectResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.DomainServiceResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding class
> > > resource
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.resources.VersionResourceServerside
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding provider
> > > singleton
> > >
> > >
> >
> org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplicationExceptionMapper
> > > from Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,168  [ResteasyDeployment   main       INFO ]  Adding provider
> > > singleton
> > > org.apache.isis.viewer.restfulobjects.server.RuntimeExceptionMapper
> from
> > > Application class
> > > org.apache.isis.viewer.restfulobjects.server.RestfulObjectsApplication
> > > 11:17:20,344  [WicketFilter         main       ERROR]  The
> initialization
> > > of an application with name 'WicketFilter' has failed.
> > > org.apache.wicket.WicketRuntimeException: Unable to create application
> of
> > > class domainapp.webapp.SimpleApplication
> > >
> > > 2015-03-03 14:09 GMT+00:00 Martin Grigorov <mgrigorov@apache.org>:
> > >
> > > > Hi,
> > > >
> > > > There must be more details about the failure in the logs.
> > > > Check all Tomcat logs.
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Mar 3, 2015 at 4:02 PM, German Vivero <
> > > > german.vivero@colonia-suiza.com> wrote:
> > > >
> > > > > Hi, reproduce the instructions to download and run SimpleApp from
> > > > > archetype,
> > > > > and everything worked properly compiling and running from the
> command
> > > > line.
> > > > > But then try to configure IntelliJ following the instructions in
> the
> > > > > documentation and happens that throws the following error.
> > > > > The initialization of an application with name 'WicketFilter' has
> > > failed.
> > > > > org.apache.wicket.WicketRuntimeException: Unable to create
> > application
> > > of
> > > > > class domainapp.webapp.SimpleApplication.
> > > > > 0: 40: 56.130 [log main WARN] failed WicketFilter:
> > > > > javax.servlet.ServletException:
> > > > > org.apache.wicket.WicketRuntimeException: Unable
> > > > > to create application of class domainapp.webapp.SimpleApplication
> > > > > 10: 40: 56.130 [log main WARN] Failed startup of context
> > > > > org.mortbay.jetty.webapp.WebAppContext@56c99877 {, src / main /
> > > webapp}
> > > > > javax.servlet.ServletException:
> > > > > org.apache.wicket.WicketRuntimeException: Unable
> > > > > to create application of class domainapp.webapp.SimpleApplication.
> > > > >
> > > > > Some can helpme!!!!!!!
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message