cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Add Content

dresdn
Champ in-the-making
Champ in-the-making
Hello.

I just finished setting up a fresh install of Alfresco 1.2 and am unable to create any content, period.

When clicking on the "Add Content" link, I get the following:


javax.faces.FacesException: Unable to compile class for JSP An error occurred at line: 151 in the jsp file: /jsp/wizard/add-content/upload.jsp Generated servlet error: [javac] /opt/tomcat5/work/Catalina/localhost/alfresco/org/apache/jsp/jsp/wizard/add_002dcontent/upload_jsp.java:593:24:593:34: Semantic Error: The class file "BrowseBean.class" in "/opt/tomcat5/webapps/alfresco/WEB-INF/lib/web-client.jar/org/alfresco/web/bean" has an invalid format (duplicate local variable type table). An error occurred at line: 151 in the jsp file: /jsp/wizard/add-content/upload.jsp Generated servlet error: [javac] /opt/tomcat5/work/Catalina/localhost/alfresco/org/apache/jsp/jsp/wizard/add_002dcontent/upload_jsp.java:593:24:593:34: Semantic Error: The class file "NavigationBean.class" in "/opt/tomcat5/webapps/alfresco/WEB-INF/lib/web-client.jar/org/alfresco/web/bean" has an invalid format (duplicate local variable type table).

caused by:
org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 151 in the jsp file: /jsp/wizard/add-content/upload.jsp Generated servlet error: [javac] /opt/tomcat5/work/Catalina/localhost/alfresco/org/apache/jsp/jsp/wizard/add_002dcontent/upload_jsp.java:593:24:593:34: Semantic Error: The class file "BrowseBean.class" in "/opt/tomcat5/webapps/alfresco/WEB-INF/lib/web-client.jar/org/alfresco/web/bean" has an invalid format (duplicate local variable type table). An error occurred at line: 151 in the jsp file: /jsp/wizard/add-content/upload.jsp Generated servlet error: [javac] /opt/tomcat5/work/Catalina/localhost/alfresco/org/apache/jsp/jsp/wizard/add_002dcontent/upload_jsp.java:593:24:593:34: Semantic Error: The class file "NavigationBean.class" in "/opt/tomcat5/webapps/alfresco/WEB-INF/lib/web-client.jar/org/alfresco/web/bean" has an invalid format (duplicate local variable type table).

The server is running Tomcat 5.0.27 and MySQL 4.1.14.  I used the war file to deploy into our currently running Tomcat server.

We are currently running Tomcat with the following options:
JAVA_OPTS="-Xmn128M -Xms256M -Xmx512M -XXSmiley TongueermSize=256m -XX:MaxPermSize=512m"

Any help with this would be greatly appreciated as I'm pretty anxious to give Alfresco a try!

Thanks!

-Mike
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
To be honest, that's a new error on me, I haven't seen anything like that before.

It sounds like a compilation issue, are you using Java 1.5?

The other thing I notice is that you are using Tomcat 5.0.27, we have only tested on 5.5.x, so you could try upgrading your Tomcat instance.

dresdn
Champ in-the-making
Champ in-the-making
Well, Tomcat was the problem.  I upgraded to 5.5.16 and now we are able to add content.

On a side note, I didn't notice anything saying Tomcat 5.5.x was required, but then again, I may have missed it.

Thanks!