Page 1 of 1

Error by Change Userrights or add new targetgroup

Posted: Wed Jun 17, 2009 12:49 pm
by mratchevy
hi,

when i add a new traget group, i get the following error:

Code: Select all

An error occurred
Cause:	javax.servlet.ServletException: com.caucho.jsp.JspParseException: /actions/list.jsp:46: reference to EmmActionForm is ambiguous, both class org.agnitas.web.forms.EmmActionForm in org.agnitas.web.forms and class org.agnitas.web.EmmActionForm in org.agnitas.web match EmmActionForm aForm = null; ^ /actions/list.jsp:48: reference to EmmActionForm is ambiguous, both class org.agnitas.web.forms.EmmActionForm in org.agnitas.web.forms and class org.agnitas.web.EmmActionForm in org.agnitas.web match aForm = (EmmActionForm) session.getAttribute("emmActionForm"); ^ 2 errors
when i want to change the userrights, i get the following error:

Code: Select all

An error occurred
Cause:	com.caucho.java.JavaCompileException: /settings/admin/rights.jsp:43: reference to AdminForm is ambiguous, both class org.agnitas.web.forms.AdminForm in org.agnitas.web.forms and class org.agnitas.web.AdminForm in org.agnitas.web match tmpUser=((AdminForm)request.getAttribute("adminForm")).getUsername(); ^ /settings/admin/rights.jsp:44: reference to AdminForm is ambiguous, both class org.agnitas.web.forms.AdminForm in org.agnitas.web.forms and class org.agnitas.web.AdminForm in org.agnitas.web match tmpAdminID=((AdminForm)request.getAttribute("adminForm")).getAdminID(); ^ /settings/admin/rights.jsp:45: reference to AdminForm is ambiguous, both class org.agnitas.web.forms.AdminForm in org.agnitas.web.forms and class org.agnitas.web.AdminForm in org.agnitas.web match userrights=((AdminForm)request.getAttribute("adminForm")).getUserRights(); ^ /settings/admin/rights.jsp:46: reference to AdminForm is ambiguous, both class org.agnitas.web.forms.AdminForm in org.agnitas.web.forms and class org.agnitas.web.AdminForm in org.agnitas.web match grouprights=((AdminForm)request.getAttribute("adminForm")).getGroupRights(); ^ Note: _jsp/_settings/_admin/_rights__jsp.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors
please help.

thanks, alex[/quote]

Posted: Fri Jun 19, 2009 9:26 am
by maschoff
Looks to me like you have not a clean installation and some files exist twice.

Posted: Sat Jun 20, 2009 8:24 pm
by mratchevy
hi,

where i can check, which files are twice in my system?

the files are twice on the filesystem or on the database?

thanks,

alex

Posted: Mon Jul 06, 2009 12:19 pm
by mratchevy
hi,

now, i have installed a other version of java, and the error with twice... is ok, but i have get a new error:

An error occurred
Cause: javax.servlet.ServletException: com.caucho.jsp.JspParseException: Exception in thread "main" java.lang.NoClassDefFoundError: javax/tools/StandardJavaFileManager at java.lang.ClassLoader.defineClass2(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:719) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160) at java.net.URLClassLoader.defineClass(URLClassLoader.java:254) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at com.sun.tools.javac.main.Main.compile(Main.java:269) at com.sun.tools.javac.Main.compile(Main.java:69) at com.sun.tools.javac.Main.main(Main.java:54)

please help.

thanks,

alex

Posted: Wed Jul 22, 2009 1:16 pm
by mratchevy
nobody any idea?

Posted: Tue Jul 28, 2009 3:05 pm
by maschoff
Either your Java or your Resin installation is not clean because Resin is missing at least one important JAR file.