I replace every enum by enumeration then the keyword is not
any longer used in the jsp files.
This works good now.
I will try to remove the jsp pre-compilation, this is a
better way.
thanks
nicolas
De : Stéphane Croisier [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 24 novembre 2005 14:49
À : [email protected]
Objet : Re: Upgrade to Jahia 4.1.1_01
Please try to remove JSP pre-compilation from your web.xml file...
At 14:27 24.11.2005, you wrote:
Hello I want to update a Jahia 4.1.0 to the new one 4.1.1_01.
I use the patch on the website JahiaUpdate4.1.1_01.jar.
The patch seems work correctly and I have no errors. The proble is when I tried to update a container I have an exeption :
<!-- Error : Error during handle of operation, Error during handle of operation, root cause:Error while forwarding a Jahia engine's content, Error while forwarding the Engine /jsp/jahia/engines/engine.jsp : 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 [javac] D:\jahia410_build6050\tomcat\work\Standalone\localhost\jahia\jsp\jahia\engines\addcontainer\addcontainer_jsp.java:157: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] Enumeration enum = fieldNames.elements(); [javac] ^ [javac] D:\jahia410_build6050\tomcat\work\Standalone\localhost\jahia\jsp\jahia\engines\addcontainer\addcontainer_jsp.java:159: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] while (enum.hasMoreElements()) { [javac] ^This seems to be the version of my jdk. I use actually jdk-1_5_0_05-nb-4_1-win-ml.exeIs anyone has an idea?In fact if i install directly the full version 4.1.1_01 I have no errors, so the problems seems to come from the patch.Thanks for your help.Nicolas
Nicolas LAFAURY
Ingénieur étude et dévelopement.
Smile- Motoriste Internet
01-41-40-11-05
[EMAIL PROTECTED]
CEO - Jahia Ltd, 45 rue de la gare, 1260 Nyon (Switzerland)
Jahia : The Java Unified Web Platform
www.jahia.org - The community and product web site
www.jahia.com - Our commercial services company
www.collaborativesource.org - The Collaborative Source Initiative
