Il 11/02/2014 17:51, Sho Uemura ha scritto:
> Your Analysis101.java looks fine to me; if you're building hps-java
> correctly you should not be getting that error from JobControlManager.
>
> Make sure the .jar file you're using actually has your class built
> into it:
>
> "jar -tf your_hps-java.jar | grep Analysis101" should return a list of
> classes with that name. One
> (org/lcsim/plugin/web/examples/Analysis101.java) is Norman's original
> example, one (org/lcsim/hps/readout/ecal/Analysis101.java) should be
> yours. If your class is missing, you're using the wrong jar file or
> not building hps-java correctly - so let us know how you're building
> hps-java (what Maven or Eclipse command) and what jar file you're
> running.
>
> On Tue, 11 Feb 2014, Luca Colaneri wrote:
>
>> Hi everybody,
>> trying to make friend with hps-java, i tried to run the attached
>> Analysis101 driver using the attached steering file. Using netbeans I
>> successfully (?) put it in the right package and build it but when
>> running the reconstruction I have this error:
>>
>> Exception in thread "main" java.lang.RuntimeException: The Driver
>> class org.lcsim.hps.readout.ecal.Analysis101 was not found.
>> at
>> org.lcsim.job.JobControlManager.setupDrivers(JobControlManager.java:680)
>> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:542)
>> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:491)
>> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:449)
>> at
>> org.lcsim.job.JobControlManager.parseCommandLineOptions(JobControlManager.java:321)
>> at org.lcsim.job.JobControlManager.main(JobControlManager.java:167)
>>
>> to figure out where to problem was, I deleted the reference to this
>> driver in the steering file and run the reconstruction again. It
>> apparently run properly but when I tryed to open the file in jas3 it
>> say "ERROR: no such record"
>>
>> What am I doing wrong?
>>
>> Cheers
>>
>> Luca
>>
>> ########################################################################
>> Use REPLY-ALL to reply to list
>>
>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>>
Ok, that was useful, I now I've compiled all the packages and it runs,
but still doesn't work in jas3, see the attachment
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|