Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » How I can run a web project with aspectj capabilities
How I can run a web project with aspectj capabilities [message #67197] Fri, 06 October 2006 13:34 Go to next message
Eclipse User
Originally posted by: rmilian.estudiantes.uci.cu

My problem is that I need to weave an aspect in a web project, I'm working
with eclipse, tomcat, WTP plugin and the AJDT but when I try to deploy the
application I get this error...

java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
at org.domain.Estudiante.killEstudent(Estudiante.java:12)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:55)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Re: How I can run a web project with aspectj capabilities [message #67226 is a reply to message #67197] Sat, 07 October 2006 12:18 Go to previous messageGo to next message
Eclipse User
Originally posted by: clemas.uk.ibm.com

You need to have the aspectjrt.jar (aspectj runtime) available on the
classpath when you run the application - it contains types that woven
code may require.

Andy.

Raisel Milian R wrote:
> My problem is that I need to weave an aspect in a web project, I'm
> working with eclipse, tomcat, WTP plugin and the AJDT but when I try to
> deploy the application I get this error...
> java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
> at org.domain.Estudiante.killEstudent(Estudiante.java:12)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:55)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>
> at java.lang.Thread.run(Thread.java:595)
>
Re: How I can run a web project with aspectj capabilities [message #67236 is a reply to message #67226] Sun, 08 October 2006 20:47 Go to previous message
Eclipse User
Originally posted by: rmilian.estudiantes.uci.cu

thank you, that's it
Re: How I can run a web project with aspectj capabilities [message #595000 is a reply to message #67197] Sat, 07 October 2006 12:18 Go to previous message
Andrew Clement is currently offline Andrew Clement
Messages: 162
Registered: July 2009
Senior Member
You need to have the aspectjrt.jar (aspectj runtime) available on the
classpath when you run the application - it contains types that woven
code may require.

Andy.

Raisel Milian R wrote:
> My problem is that I need to weave an aspect in a web project, I'm
> working with eclipse, tomcat, WTP plugin and the AJDT but when I try to
> deploy the application I get this error...
> java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
> at org.domain.Estudiante.killEstudent(Estudiante.java:12)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:55)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:332)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>
> at java.lang.Thread.run(Thread.java:595)
>
Re: How I can run a web project with aspectj capabilities [message #595012 is a reply to message #67226] Sun, 08 October 2006 20:47 Go to previous message
Eclipse User
Originally posted by: rmilian.estudiantes.uci.cu

thank you, that's it
Previous Topic:advices from aspectPath jars aren't shown in Cross References view
Next Topic:ajdt 1.4 and aspectrt.jar
Goto Forum:
  


Current Time: Tue Sep 02 12:54:13 EDT 2014

Powered by FUDForum. Page generated in 0.01802 seconds