* Re: [sisyphus] Запуск Tomcat5 и Java
2008-05-30 11:05 [sisyphus] Запуск Tomcat5 и Java Andrey Shilnikov
@ 2008-05-30 10:16 ` Igor Vlasenko
2008-06-02 6:00 ` Andrey Shilnikov
0 siblings, 1 reply; 3+ messages in thread
From: Igor Vlasenko @ 2008-05-30 10:16 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Fri, May 30, 2008 at 03:05:40PM +0400, Andrey Shilnikov wrote:
> Не запускает аплет. При попытке отобразить соответ.страницу выводит вот это...
> java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
бросьте симлинк с ant.jar в /var/lib/tomcat5/common/lib
--
Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sisyphus] Запуск Tomcat5 и Java
@ 2008-05-30 11:05 Andrey Shilnikov
2008-05-30 10:16 ` Igor Vlasenko
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Shilnikov @ 2008-05-30 11:05 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Не запускает аплет. При попытке отобразить соответ.страницу выводит вот это...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: org/apache/tools/ant/BuildException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:202)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:470)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.ClassNotFoundException: org.apache.tools.ant.BuildException
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:202)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:470)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Перепробывал многое и ничего не выходит.
Заранее спасибо.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] Запуск Tomcat5 и Java
2008-05-30 10:16 ` Igor Vlasenko
@ 2008-06-02 6:00 ` Andrey Shilnikov
0 siblings, 0 replies; 3+ messages in thread
From: Andrey Shilnikov @ 2008-06-02 6:00 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
В сообщении от Friday 30 May 2008 14:16:14 Igor Vlasenko написал(а):
> On Fri, May 30, 2008 at 03:05:40PM +0400, Andrey Shilnikov wrote:
> > Не запускает аплет. При попытке отобразить соответ.страницу выводит вот
> > это... java.lang.NoClassDefFoundError:
> > org/apache/tools/ant/BuildException
>
> бросьте симлинк с ant.jar в /var/lib/tomcat5/common/lib
Спасибо. Частично помогло. Ошибка стала меньше. Но проброска всех симлинков
нужных не помогло. Сейчас также пробросил на все варианты jasper.
Ошибка такая:
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
---
Andrey Shilnikov
Monday 02 June 2008
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-02 6:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-30 11:05 [sisyphus] Запуск Tomcat5 и Java Andrey Shilnikov
2008-05-30 10:16 ` Igor Vlasenko
2008-06-02 6:00 ` Andrey Shilnikov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git