isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From German Vivero <german.viv...@colonia-suiza.com>
Subject Re: Error with IntelliJ running simpleapp 1.8
Date Tue, 03 Mar 2015 17:05:32 GMT
Well rebuild and have some dependencies error
Information:Using javac 1.7.0_25 to compile java sources
Information:java: Errors occurred while compiling module 'test1'
Information:03/03/2015 01:56 PM - Compilation completed with 12 errors and
0 warnings in 3 sec
D:\crm\dom\src\test\java\domainapp\dom\modules\simple\SimpleObjectsTest.java
Error:(21, 17) java: package org.jmock does not exist
Error:(22, 17) java: package org.jmock does not exist
Error:(23, 22) java: package org.jmock.auto does not exist
Error:(28, 53) java: package org.apache.isis.core.unittestsupport.jmocking
does not exist
Error:(29, 71) java: package
org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2 does not
exist
Error:(37, 12) java: cannot find symbol
  symbol:   class JUnitRuleMockery2
  location: class domainapp.dom.modules.simple.SimpleObjectsTest
Error:(39, 6) java: cannot find symbol
  symbol:   class Mock
  location: class domainapp.dom.modules.simple.SimpleObjectsTest
Error:(37, 68) java: cannot find symbol
  symbol:   variable Mode
  location: class domainapp.dom.modules.simple.SimpleObjectsTest
Error:(37, 40) java: cannot find symbol
  symbol:   variable JUnitRuleMockery2
  location: class domainapp.dom.modules.simple.SimpleObjectsTest
Error:(58, 19) java: cannot find symbol
  symbol:   class Sequence
  location: class domainapp.dom.modules.simple.SimpleObjectsTest.Create
Error:(59, 34) java: cannot find symbol
  symbol:   class Expectations
  location: class domainapp.dom.modules.simple.SimpleObjectsTest.Create
Error:(88, 34) java: cannot find symbol
  symbol:   class Expectations
  location: class domainapp.dom.modules.simple.SimpleObjectsTest.ListAll

2015-03-03 16:52 GMT+00:00 Martin Grigorov <mgrigorov@apache.org>:

> Looks OK to me.
> Try menu Build > Rebuild project.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Mar 3, 2015 at 6:47 PM, German Vivero <
> german.vivero@colonia-suiza.com> wrote:
>
> > Thk Dan and 1.8 version it's really great
> >
> >
> https://drive.google.com/file/d/0B6pscP6WmgHZdjk2T2NxOWJGazA/view?usp=sharing
> >
> >
> > 2015-03-03 16:30 GMT+00:00 Dan Haywood <dan@haywood-associates.co.uk>:
> >
> > > imgur.com, for example.
> > >
> > > The ASF mailing lists strip off attachments.
> > >
> > > Dan
> > >
> > > On 3 March 2015 at 16:28, Martin Grigorov <mgrigorov@apache.org>
> wrote:
> > >
> > > > Please either upload it to some image sharing web service or send it
> > > > directly to me.
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Mar 3, 2015 at 6:25 PM, German Vivero <
> > > > german.vivero@colonia-suiza.com> wrote:
> > > >
> > > > > Thnk
> > > > >
> > > > > 2015-03-03 16:20 GMT+00:00 Martin Grigorov <mgrigorov@apache.org>:
> > > > >
> > > > >> Please do!
> > > > >>
> > > > >> Martin Grigorov
> > > > >> Wicket Training and Consulting
> > > > >> https://twitter.com/mtgrigorov
> > > > >>
> > > > >> On Tue, Mar 3, 2015 at 6:18 PM, German Vivero <
> > > > >> german.vivero@colonia-suiza.com> wrote:
> > > > >>
> > > > >> > Hi, Martin classpath is -webapp , but doesn't work.
> > > > >> > If you want I can attach an screenshot of itellij run/debug
> > > > >> configuration
> > > > >> > form.
> > > > >> > Thk for your patience!!!!
> > > > >> >
> > > > >> >
> > > > >> > 2015-03-03 15:55 GMT+00:00 Martin Grigorov <
> mgrigorov@apache.org
> > >:
> > > > >> >
> > > > >> > > 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