another JSP compilation error

User 870ab5b546

20-06-2016 17:20:10

 


compile:
[javac] Compiling 340 source files to /home/aceorg/aceorg/DEV-4.1/ace/web/WEB-INF/classes
[javac] /home/aceorg/aceorg/DEV-4.1/ace/web/WEB-INF/src/org/apache/jsp/nosession/jchem/examples/db_005fsearch/cachedetails_jsp.java:139: error: non-static method getCachedTables() cannot be referenced from a static context
[javac] Hashtable tables=CacheManager.getCachedTables();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] Compile failed; see the compiler error output for details.

ChemAxon abe887c64e

21-06-2016 13:32:01

HI Bob,


Thank you for the notification, but you have already reported the same bug in this forum post, and we fixed it in version 16.5.16. INSTANCE should have been inserted like:



Hashtable tables=CacheManager.INSTANCE.getCachedTables();


Which version are you currently using?


Best regards,


Krisztina