- This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by support-joy.
-
AuthorPosts
-
curmudgeon99ParticipantI have a JEE project defined with Servlet version 2.5.
I have the following Maven dependency, which is satisfied:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>There are no other JSTL files from earlier JSTL versions on my classpath
In a JSP, I have the following declaration at the top:
<%@ taglib uri=”http://java.sun.com/jsp/jstl/core” prefix=”c”%>
Please note the /jsp directory in that path
Yet, lines like this:
<c:choose>
<c:when test=”${ !(empty requestScope.unprocessedANCount && empty requestScope.unprocessedGroupCount)}”>are greeted by the warning from MyEclipse that ” ‘test’ does not support runtime expressions.”
————————————————–Within MyEclipse, when I go to Window | Preferences | MyEclipse | Java Enterprise Project | WebProject and then select the TagLibraries tab, I see it only supports JSTL 1.1
How do I add JSTL 1.2 support here? Is that the reason for the problem I’m seeing above?
support-joyMembercurmudgeon99,
Sorry to hear you are running into this issue. Could you provide below information –
1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details > [Copy to clipboard] and paste the same here
2. Is this project created in MyEclipse or have you imported this?
3. Yes, MyEclipse currently supports JSTL 1.0 and 1.1. I can suggest a workaround to add JSTL 1.2, you can do the following – open Window > Preferences > MyEclipse > Project Capabilities > JSTL. Choose either JSTL 1.0/1.1. Add the jstl libs using [Add JAR/ZIP] and follow the wizard
4. Can you share your .log file located at [your workspace dir]/.metadata/.log
5. You mention in the jsp your declaration of taglib is showing issues. Could you right click and select [Quick-fix]. Does that help?
6. What is the JDK compliance level in your project? Can you right click on your project > Properties > Java Compiler and check the compiler compliance level
curmudgeon99Participant1. Installation Details:
*** Date:
Wednesday, June 27, 2012 3:00:23 PM EDT*** System properties:
OS=WindowsVista
OS version=6.1.0
OS arch=amd64
Profile arch=x86_64
Window system=win32
Java version=1.6.0_13
Workspace=file:/C:/ATI-DEV/ATI-ECLIPSE-WORKSPACE/
VM Args=-Xmx2048m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-jar
C:\DEV\MYECLI~1\MYECLI~1\../Common/plugins/ORB7B5~1.JAR*** Subscription information
Product Id: E3MP (MyEclipse Professional Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20130515
Number of users: 1*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 10.1
Build id: 10.1-20120316Blueprint: MyEclipse 10
com.genuitec.myeclipse.database – 10.1.0.me201203170059
com.genuitec.myeclipse.desktop – 10.1.0.me201203170059
com.genuitec.myeclipse.editor – 10.1.0.me201203170059
com.genuitec.myeclipse.enterprise.workbench – 10.1.0.me201203170059
com.genuitec.myeclipse.geronimo – 10.1.0.me201203170059
com.genuitec.myeclipse.glassfish – 10.1.0.me201203170059
com.genuitec.myeclipse.icefaces.feature – 10.1.0.me201203170059
com.genuitec.myeclipse.iedebugger – 10.1.0.me201203170059
com.genuitec.myeclipse.imageeditor – 10.1.0.me201203170059
com.genuitec.myeclipse.jboss – 10.1.0.me201203170059
com.genuitec.myeclipse.jetty – 10.1.0.me201203170059
com.genuitec.myeclipse.jonas – 10.1.0.me201203170059
com.genuitec.myeclipse.jrun – 10.1.0.me201203170059
com.genuitec.myeclipse.jsf – 10.1.0.me201203170059
com.genuitec.myeclipse.matisse – 10.1.0.me201203170059
com.genuitec.myeclipse.maven – 10.1.0.me201203170059
com.genuitec.myeclipse.oracle – 10.1.0.me201203170059
com.genuitec.myeclipse.orion – 10.1.0.me201203170059
com.genuitec.myeclipse.persistence – 10.1.0.me201203170059
com.genuitec.myeclipse.pulse – 10.1.0.me201203170059
com.genuitec.myeclipse.reports – 10.1.0.me201203170059
com.genuitec.myeclipse.resin – 10.1.0.me201203170059
com.genuitec.myeclipse.struts – 10.1.0.me201203170059
com.genuitec.myeclipse.sun – 10.1.0.me201203170059
com.genuitec.myeclipse.tomcat – 10.1.0.me201203170059
com.genuitec.myeclipse.uml2 – 10.1.0.me201203170059
com.genuitec.myeclipse.visualvm – 10.1.0.me201203170059
com.genuitec.myeclipse.visualvm.server – 10.1.0.me201203170059
com.genuitec.myeclipse.weblogic – 10.1.0.me201203170059
com.genuitec.myeclipse.websphere – 10.1.0.me201203170059
com.genuitec.myeclipse.ws – 10.1.0.me201203170059
org.eclipse.birt – 2.6.1.me201203170059
org.eclipse.datatools.connectivity.feature – 1.9.0.me201203170059
org.eclipse.datatools.enablement.feature – 1.9.0.me201203170059
org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201203170059
org.eclipse.jpt.jpa.feature – 3.0.0.me201203170059
org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201203170059
org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201203170059
org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201203170059
org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201203170059
org.eclipse.jst.server_adapters.feature – 3.2.100.me201203170059
org.eclipse.jst.server_ui.feature – 3.3.0.me201203170059
org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201203170059
org.eclipse.m2e.feature – 1.0.0.me201203170059
org.eclipse.wst.common.fproj – 3.3.0.me201203170059
org.eclipse.wst.server_adapters.feature – 3.2.100.me201203170059
org.springframework.ide.eclipse.feature – 2.7.1.me201203170059org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
org.eclipse.jsf.feature – 3.3.0.me201203170059
org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272Eclipse startup command=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\DEV\MyEclipse100\MyEclipse 10\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\DEV\MyEclipse100\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650\eclipse_4201.dll
-startup
C:\DEV\MyEclipse100\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-exitdata
1f34_5c
-install
C:\DEV\MyEclipse100\MyEclipse 10
-configuration
C:\DEV\MyEclipse100\MyEclipse 10\configuration
-vm
C:\DEV\MyEclipse100\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe2. This project was created by using: Maven Create a new project with:
Parent Pom with package type of pom
Child Pom with package type of war
Servlet 2.53. Following for kind directions, I added jstl-1.2.jar (and removed the other two standard.jar and jstl.jar so the old ones would not be found).
4. I regret that I have since deleted my .log and the various backups. If I see this again after your suggested fix, I will capture the .log file.
5. I will also try this.
6. Following your kind directions, I see that my compliance is 1.6 for Compiler, Generated .class and Source.
Thank you!
support-joyMembercurmudgeon99,
Thank you for the details. Let me know if the suggested solution worked for you.
Best.
-
AuthorPosts