[Netarchivesuite-devel] Compilation errors

Søren Vejrup Carlsen svc at kb.dk
Tue Dec 29 13:36:17 CET 2009


The one jasper library you should be using to compile is the file lib/jetty-dependencies/jsp-2.1-glassfish-9.1.1.B60.25.p2.jar
And not the jasper-compiler-tomcat-4.1.30.jar found in lib/heritrix/lib/

/Søren
-----Oprindelig meddelelse-----
Fra: netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk] På vegne af Colin Rosenthal
Sendt: 29. december 2009 13:20
Til: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
Emne: Re: [Netarchivesuite-devel] Compilation errors

I see that two of the errors are identical. The only one that really 
worries me is the first since it relates to an API in an
external library. Is it possible that we have more than one instance of 
the jasper jar with inconsistent APIs?
--
Colin

Søren Vejrup Carlsen wrote:
> I don't experience these compilation errors.
> So it must be something you have done in your IDE.
>
> /Søren
> -----Oprindelig meddelelse-----
> Fra: netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk] På vegne af Colin Rosenthal
> Sendt: 29. december 2009 12:27
> Til: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
> Emne: [Netarchivesuite-devel] Compilation errors
>
> I'm getting four compilation errors at the moment. I don't think these 
> are in parts of the code I've touched recently.
> --
> Colin
>
> Information:Note: Some input files use unchecked or unsafe operations.
> Information:Note: Recompile with -Xlint:unchecked for details.
> Information:Compilation completed with 4 errors and 46 warnings
> Information:4 errors
> Information:46 warnings
> /home/csr/projects/netarchivesuite/tests/dk/netarkivet/harvester/webinterface/JspTestCase.java
>     Error:Error:line (96)setArgs(java.lang.String[]) is not public in 
> org.apache.jasper.JspC; cannot be accessed from outside package
> /home/csr/projects/netarchivesuite/tests/dk/netarkivet/archive/arcrepository/bitpreservation/ReplicaCacheDatabaseTester.java
>     Error:Error:line (58)getDBConnection() in 
> dk.netarkivet.archive.arcrepository.bitpreservation.DBConnect cannot be 
> applied to (java.lang.String)
> /home/csr/projects/netarchivesuite/tests/dk/netarkivet/archive/arcrepository/bitpreservation/DatabaseBasedActiveBitPreservationTester.java
>     Error:Error:line (95)getDBConnection() in 
> dk.netarkivet.archive.arcrepository.bitpreservation.DBConnect cannot be 
> applied to (java.lang.String)
> /home/csr/projects/netarchivesuite/tests/dk/netarkivet/archive/bitarchive/BitarchiveMonitorTester.java
>     Error:Error:line (127)cannot find symbol method getInstance()
> _______________________________________________
> Netarchivesuite-devel mailing list
> Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
> https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/netarchivesuite-devel
>
> _______________________________________________
> Netarchivesuite-devel mailing list
> Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
> https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/netarchivesuite-devel
>   

_______________________________________________
Netarchivesuite-devel mailing list
Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/netarchivesuite-devel



More information about the Netarchivesuite-devel mailing list