For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
noob83MemberHello!
I tried to include a jsp in another jsp. I used jsp:include page=”another.jsp”. But now I get the following message:
javax.servlet.ServletException: javax.servlet.jsp.JspException: Assertion-FehlerSomebody told me to deactivate assertions but I don’t know where to do it in MyEclipse.
Can you help me?
Thanks
October 11, 2005 at 12:58 pm #239171
Riyad KallaMemberPlease paste the contents of both JSP pages.
October 12, 2005 at 1:13 am #239211
noob83MemberHome.jsp:
<%@ page language=”java” %>
<%@ taglib uri=”http://java.sun.com/jsf/html” prefix=”h” %>
<%@ taglib uri=”http://java.sun.com/jsf/core” prefix=”f” %>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”><html>
<head>
<title>Task DB bearbeiten</title>
</head><body>
<f:view>
<f:subview id=”Links”>
<h:form id=”Links”>
<jsp:include page=”Links.jsp” />
</h:form></f:subview>
<h:form id=”Welcome”>
<h:outputText value=”Herzlich Willkommen!”/>
<h:outputText value=”Bitte wählen sie einen Link aus.”/></h:form>
</f:view>
</body>
</html>Links.jsp:
<%@ page language=”java” %>
<%@ taglib uri=”http://java.sun.com/jsf/html” prefix=”h” %>
<%@ taglib uri=”http://java.sun.com/jsf/core” prefix=”f” %>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”><html>
<body bgcolor=”#00FF80″ text=”#000000″ link=”#A00000″ vlink=”#600000″ alink=”#A00000″><f:view>
<h:form id=”Links”>
<f:verbatim><br></f:verbatim>
<h:outputText value=”Bitte wählen Sie einen Link:”/>
<f:verbatim><br></f:verbatim>
<f:verbatim><br></f:verbatim>
<h:commandLink action=”newTask” value=”Task anlegen” />
<f:verbatim><br></f:verbatim>
<h:commandLink action=”deleteTask” value=”Task löschen” />
<f:verbatim><br></f:verbatim>
<h:commandLink action=”newLocation” value=”Location anlegen” />
<f:verbatim><br></f:verbatim>
<h:commandLink action=”deleteLocation” value=”Location löschen” />
<f:verbatim><br></f:verbatim></h:form>
</f:view></body>
</html>October 12, 2005 at 11:44 am #239243
Riyad KallaMemberI was unable to reproduce this problem, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
October 13, 2005 at 3:01 am #239302
noob83MemberThank you very much for your help!
I hope this is everything you need:
What operating system and version are you running?:
Windows XPWhat Eclipse version and build id are you using?
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse was freshly installed. Then I tried to install sysdeo Tomcat Plugin but it didn’t work. So I decided to install myEclipse.
How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*?
Two:
org.eclipse.pde.
org.eclipse.pde.sourceWhat MyEclipse version are you using? Version: 4.0.0
Build id: 20050829-4.0.0-GA
(30-day trail version)JDK version:
jdk1.5.0_04What application server are you using?
Tomcat 5.5.11Are there any exceptions in the Eclipse log file?
Parts of the log file:!SESSION 2005-10-13 07:17:17.449 ———————————————–
eclipse.buildId=I20050627-1435
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_DE
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.update.configurator 2005-10-13 07:54:25.643
!MESSAGE Can’t find bundle for base name feature, locale en_DE!ENTRY org.eclipse.update.configurator 2005-10-13 07:54:25.684
!MESSAGE Can’t find bundle for base name feature, locale en_DE!ENTRY org.eclipse.ui 4 0 2005-10-13 07:59:45.543
!MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
!STACK 1
org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)!SUBENTRY 1 org.eclipse.ui 4 0 2005-10-13 07:59:45.543
!MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)!ENTRY com.genuitec.eclipse.core 1 0 2005-10-13 07:59:48.678
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-10-13 08:01:40.739
!MESSAGE
Oct 13, 2005 8:01:40 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)Caused by: java.io.IOException: CreateProcess: javac.exe -classpath
— Nested Exception —
java.io.IOException: CreateProcess: javac.exe -classpath
Oct 13, 2005 8:01:40 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Env: Compile: javaFileName=/C:/DOKUME~1/Missy/LOKALE~1/Temp/myeclipse-jspcc//org/apache/jsp\index_jsp.javaI hope this is enough information for you.
October 13, 2005 at 9:08 am #239319
Riyad KallaMemberCaused by: java.io.IOException: CreateProcess: javac.exe -classpath
— Nested Exception —
java.io.IOException: CreateProcess: javac.exe -classpath
Oct 13, 2005 8:01:40 AM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Env: Compile: javaFileName=/C:/DOKUME~1/Missy/LOKALE~1/Temp/myeclipse-jspcc//org/apache/jsp\index_jsp.javaFirst things first, to fix this you need to add javac.exe to your System PATH, then restart MyEclipse.
How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*?
Two:
org.eclipse.pde.
org.eclipse.pde.sourceThis is odd, you should see 4… did you use the Eclipse SDK (110mb or so) or the PDE install?
-
AuthorPosts
