You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by Chatree Srichart <ch...@gmail.com> on 2010/01/13 11:57:32 UTC
[Problem} Not found net.liftweb.util.Helpers class
Hi all,
When I run "mvn package" in /trunk/server directory. I get web app directory
(/trunk/server/target/esme-server-0.3.0-SNAPSHOT/).
When I deploy this directory in Tomcat. I get error in the log like this:
java.lang.NoClassDefFoundError: Could not initialize class
net.liftweb.util.Helpers$
at net.liftweb.util.LogBoot$.findTheFile$1(Log.scala:115)
at net.liftweb.util.LogBoot$._log4JSetup(Log.scala:118)
at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
at net.liftweb.util.LogBoot$.checkConfig(Log.scala:94)
at
net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$$_logger(Log.scala:140)
at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
at net.liftweb.util.Log$.rootLogger(Log.scala:26)
at net.liftweb.util.Log$.error(Log.scala:42)
at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:515)
at net.liftweb.http.LiftFilter.init(LiftServlet.scala:491)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
But I already put lift-webkit-0.10-20080908.220934-106.jar file in
WEB-INF/lib directory.
Can any one tell me what I'm wrong?
Thank you
Re: [Problem} Not found net.liftweb.util.Helpers class
Posted by Chatree Srichart <ch...@gmail.com>.
Hi, Richard Hirsch
I'm sorry. I found my wrong. I have to delete all old jar files and class
files from WEB-INF directory before run "mvn clean jetty:run" command. Now
it is work fine.
Thank you very much
Regards,
Re: [Problem} Not found net.liftweb.util.Helpers class
Posted by Chatree Srichart <ch...@gmail.com>.
Hi, Richard Hirsch
Thank you very much. The "mvn clean jetty:run" command work fine. But when I
enter http://localhost:8080 I cannot see "Sign Up" button because I do not
have Open ID yet. Please tell me how should I do?
Regards,
Re: [Problem} Not found net.liftweb.util.Helpers class
Posted by Richard Hirsch <hi...@gmail.com>.
Please try "mvn clean jetty:run". I just tried it and it worked.
D.
On Wed, Jan 13, 2010 at 12:55 PM, Richard Hirsch <hi...@gmail.com> wrote:
> I'm checking as well. Give me a few minutes there may have been some
> changes in lift.
>
> D.
>
> On Wed, Jan 13, 2010 at 11:57 AM, Chatree Srichart
> <ch...@gmail.com> wrote:
>> Hi all,
>>
>> When I run "mvn package" in /trunk/server directory. I get web app directory
>> (/trunk/server/target/esme-server-0.3.0-SNAPSHOT/).
>> When I deploy this directory in Tomcat. I get error in the log like this:
>>
>> java.lang.NoClassDefFoundError: Could not initialize class
>> net.liftweb.util.Helpers$
>> at net.liftweb.util.LogBoot$.findTheFile$1(Log.scala:115)
>> at net.liftweb.util.LogBoot$._log4JSetup(Log.scala:118)
>> at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
>> at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
>> at net.liftweb.util.LogBoot$.checkConfig(Log.scala:94)
>> at
>> net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$$_logger(Log.scala:140)
>> at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
>> at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
>> at net.liftweb.util.Log$.rootLogger(Log.scala:26)
>> at net.liftweb.util.Log$.error(Log.scala:42)
>> at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:515)
>> at net.liftweb.http.LiftFilter.init(LiftServlet.scala:491)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>> at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>> at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
>>
>> But I already put lift-webkit-0.10-20080908.220934-106.jar file in
>> WEB-INF/lib directory.
>>
>> Can any one tell me what I'm wrong?
>>
>> Thank you
>>
>
Re: [Problem} Not found net.liftweb.util.Helpers class
Posted by Richard Hirsch <hi...@gmail.com>.
I'm checking as well. Give me a few minutes there may have been some
changes in lift.
D.
On Wed, Jan 13, 2010 at 11:57 AM, Chatree Srichart
<ch...@gmail.com> wrote:
> Hi all,
>
> When I run "mvn package" in /trunk/server directory. I get web app directory
> (/trunk/server/target/esme-server-0.3.0-SNAPSHOT/).
> When I deploy this directory in Tomcat. I get error in the log like this:
>
> java.lang.NoClassDefFoundError: Could not initialize class
> net.liftweb.util.Helpers$
> at net.liftweb.util.LogBoot$.findTheFile$1(Log.scala:115)
> at net.liftweb.util.LogBoot$._log4JSetup(Log.scala:118)
> at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
> at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:96)
> at net.liftweb.util.LogBoot$.checkConfig(Log.scala:94)
> at
> net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$$_logger(Log.scala:140)
> at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
> at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:142)
> at net.liftweb.util.Log$.rootLogger(Log.scala:26)
> at net.liftweb.util.Log$.error(Log.scala:42)
> at net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:515)
> at net.liftweb.http.LiftFilter.init(LiftServlet.scala:491)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
> at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
> at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
>
> But I already put lift-webkit-0.10-20080908.220934-106.jar file in
> WEB-INF/lib directory.
>
> Can any one tell me what I'm wrong?
>
> Thank you
>