You are building from Maven? Using the multiproject build? Or just this one project directly?
> -----Original Message----- > From: Martin Wendel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 1:21 PM > To: 'Turbine Users List' > Subject: RE: A Hibernate/Turbine 2.3 security sample (Fulcrum wont > compile) > > > Ok I've figured out the Log4J stuff, i had to add common-log and 4jlog jar > files to the Tomcat common/lib dir... > > All the DEBUG stuff, is, well debug and appeared because the tomcat plugin > added VERBOSE=4. > > I also had to recompile the Flux (CVS) jar because it gave me some "Not > Serializable" for the fulcrum DynamicGroup... > > After that it runs without any errors; however there still won't > appear any > list of users - groups' works though. It seems pretty strange that one > works, but not the other? > > So I tried to recompile Fulcrum from CVS but it came up with a hell lot of > errors: > ------------------------------------------------------------------ > ---------- > D:\Program > Files\eclipse\workspace\jakarta-turbine-fulcrum\src\java\org\apache\f > ulcrum\security\impl\db\DBSecurityService.java:368: cannot resolve symbol > symbol : class BaseObject > location: class org.apache.fulcrum.security.impl.db.DBSecurityService > ObjectKey key = ((BaseObject) user).getPrimaryKey(); > ^ > D:\Program > Files\eclipse\workspace\jakarta-turbine-fulcrum\src\java\org\apache\f > ulcrum\security\impl\db\DBSecurityService.java:370: cannot resolve symbol > symbol : variable TurbineUserGroupRolePeer > location: class org.apache.fulcrum.security.impl.db.DBSecurityService > TurbineUserGroupRolePeer.TABLE_NAME, > ^ > D:\Program > Files\eclipse\workspace\jakarta-turbine-fulcrum\src\java\org\apache\f > ulcrum\security\impl\db\DBSecurityService.java:371: cannot resolve symbol > symbol : variable TurbineUserGroupRolePeer > location: class org.apache.fulcrum.security.impl.db.DBSecurityService > TurbineUserGroupRolePeer.USER_ID, > ^ > D:\Program > Files\eclipse\workspace\jakarta-turbine-fulcrum\src\java\org\apache\f > ulcrum\security\impl\db\DBSecurityService.java:369: cannot resolve symbol > symbol : variable TurbineUserGroupRolePeer > location: class org.apache.fulcrum.security.impl.db.DBSecurityService > TurbineUserGroupRolePeer.deleteAll( > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -deprecation for details. > 100 errors > > BUILD FAILED > File...... C:\Documents and > Settings\Breeze\.maven\plugins\maven-java-plugin-1.4 > \plugin.jelly > Element... ant:javac > Line...... 53 > Column.... 48 > Compile failed; see the compiler error output for details. > Total time: 5 seconds > Finished at: Wed Jun 23 12:24:48 CEST 2004 > ------------------------------------------------------------------ > ---------- > > Deprecated API... and is that torque dependencies I see in there? > Do I have > to include the torque stuff somehow? > > /M > > > -----Original Message----- > From: ANSI Webmaster [mailto:[EMAIL PROTECTED] > Sent: 21. juni 2004 18:40 > To: 'Turbine Users List' > Subject: RE: A Hibernate/Turbine 2.3 security sample > > Hmm alright, why doesnt you use the 5.0 instead? I've seen that the plugin > for Eclipse only supports debugging with 4.x... So perhaps it would be a > good idea? But what about features? > > Yeah but /runaway was just the context path where I misread it at first, > doesn't change anything. > > It does include it, but I think that Logfactory4j is deprecated in newer > versions, and perhaps that is why.. some kind of mismatch in the > classes you > provided, with the new commons-lib... maybe it should try to replace it. > > I got it working anyway, it can log in, but I cant view any of > the users. It > says "getUsers" not implemented. Where do I implement this? > > Otherwise its looking good :) > > /M > > -----Original Message----- > From: Lester Ward [mailto:[EMAIL PROTECTED] > Sent: 21. juni 2004 16:14 > To: 'Turbine Users List' > Subject: RE: A Hibernate/Turbine 2.3 security sample > > > This looks really nice, but it wont run when i try to execute it from > > Eclipse. I ran maven eclipse and imported the project into > > Eclipse. From > > here I set the project as a Tomcat project (I use tomcat 5.0.x)... > > Not sure. I used Tomcat 4.x. Here is what I notice in your log, though: > > > [DEBUG] Digester - - match='web-app/welcome-file-list/welcome-file' > > [DEBUG] Digester - - bodyText='index.jsp' > > May app doesn't have either of these files, so it is possible > that you have > some other application running within Tomcat? > > > Catalina:type=JspMonitor,WebModule=//localhost/runaway,J2EEApp > > My app is called "runway", not "runaway", so it could be you have a naming > problem somewhere. > > > Caused by: java.lang.ClassNotFoundException: > > org.apache.commons.logging.impl.Log4jFactory > > at java.net.URLClassLoader$1.run(URLClassLoader.java:199) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:141) > > at > > org.apache.commons.logging.LogFactory$2.run(LogFactory.java:607) > > ... 24 more > > > > Got a clue why it says this? I do have the log4j.jar in my > > classpath (but under web-inf/lib and I've even tried adding > > it individually in eclipse... > > I think this class is actually in commons-logging. My app should include > commons-logging-1.0.3.jar. > > Wordman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
