Jose, It looks like you didn't rebuild everything properly. The error is saying that it cannot find that new Java class. Generally, you should be doing the following:
(1) Place that file in "dspace-api/src/main/java/org/dspace/submit/step/". Alternatively, if you didn't have the 'dspace-api' source checked out, you could place it in "[dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/step/" (the latter path just adds the java code to the "overlay" for your XMLUI ONLY!) (2) Re-package via Maven: mvn package (3) Re-Install updated JAR/WAR to your installation location: cd /dspace/target/dspace-1.5.0-build.dir/ ant update (4) Copy over the updated item-submission.xml to your installation directory (i.e. [dspace]/config/item-submission.xml) (5) Restart Tomcat (Don't forget to copy new WAR over to Tomcat /webapps, before you restart.) I hope that helps... - Tim Blanco, Jose wrote: > Tim: > > I put the file in > dspace-api/src/main/java/org/dspace/submit/step/ > > I configured the file like this: > > <step> > > <processing-class>org.dspace.submit.step.InitializationStep</processing- > class> > <workflow-editable>false</workflow-editable> > </step> > > But I'm getting this error: > > 2008-09-03 12:14:57,076 ERROR > org.dspace.app.webui.servlet.SubmissionController @ Error loading step > class'org.dspace.submit.step.InitializationStep': > java.lang.ClassNotFoundException: > org.dspace.submit.step.InitializationStep > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader > .java:1363) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader > .java:1209) > at > org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java: > 124) > at > org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionContr > oller.jav > > -----Original Message----- > From: Tim Donohue [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2008 10:50 AM > To: Blanco, Jose > Cc: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] Removing the 1st step from submission. > > Jose, > > We created a custom "invisible" step in our DSpace 1.5 Submission > process, in order to set some defaults and remove that 1st "Initial > Questions" step. I've attached our InitializationStep.java to this > email, for your usage/modification (and for anyone else interested). > Once you have the source code in place, you should be able to enable it > in your item-submission.xml with the following: > > <step> > <processing-class>edu.uiuc.dspace.submit.step.InitializationStep</proces > sing-class> > <workflow-editable>false</workflow-editable> > </step> > > (Obviously, don't forget to remove or comment out the configuration for > the "InitialQuestionsStep" in your item-submission.xml) > > Yes, I need to writeup a simple little "How-To" on the DSpace Wiki for > this one. But, until then, I thought I'd just send this out via the > list :) > > - Tim > > > Blanco, Jose wrote: >> I would like to remove the 1st step from the submission. I have >> already taken care of the title and publisher questions that appear in > >> the 1st step, and I would like now to have it assume that there are >> multiple files for the submission. I think that the easiest way to do > >> this is to call the WorkspaceItem.setMultiplefiles method with true, >> but I'm not sure from where, since it's normally called when the >> initial questions page is processed. Any ideas? >> >> Thanks! >> Jose >> >> ---------------------------------------------------------------------- >> --- This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge Build the coolest Linux based applications with Moblin SDK & > >> win great prizes Grand prize is a trip for two to an Open Source event > >> anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> > > -- > Tim Donohue > Research Programmer, Illinois Digital Environment for Access to Learning > and Scholarship (IDEALS) University of Illinois at Urbana-Champaign > [EMAIL PROTECTED] | (217) 333-4648 > -- Tim Donohue Research Programmer, Illinois Digital Environment for Access to Learning and Scholarship (IDEALS) University of Illinois at Urbana-Champaign [EMAIL PROTECTED] | (217) 333-4648 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech