Hi All,
I am not sure if I should post my problem in this forum or Java one.I am trying to use jasper report inside my apex application.The first thing I did was to develop the report example in NetBeans and it worked.Now I try to do the same and compile my report inside oracle database.The problem is the libraries that I have to load in db.For example when in try to compile
call dbms_java.loadjava('-force -resolve D:\jdt-compiler-3.1.1.jar');
it returns
errors : class org/eclipse/jdt/internal/compiler/SourceElementParser$LocalDeclarationVisitor
ORA-29534: referenced object MBA.org/eclipse/jdt/internal/compiler/SourceElementParser could not be resolved
errors : class org/eclipse/jdt/internal/compiler/SourceElementParser
ORA-29534: referenced object MBA.org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter could not be resolved
errors : class org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter
ORA-29521: referenced name org/eclipse/jdt/core/JavaModelException could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceTypeElementInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/core/IType could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/JavaElement could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/CompilationUnitElementInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/core/ICompilationUnit could not be found
ORA-29521: referenced name org/eclipse/jdt/core/IJavaElement could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/ImportDeclaration could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceType could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/InitializerElementInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceField could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceFieldElementInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceMethod could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceMethodElementInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/internal/core/SourceAnnotationMethodInfo could not be found
ORA-29521: referenced name org/eclipse/jdt/core/Signature could not be found
ORA-29521: referenced name org/eclipse/jdt/core/IImportDeclaration could not be found
The following operations failed
class org/eclipse/jdt/internal/compiler/SourceElementParser$LocalDeclarationVisitor: resolution
class org/eclipse/jdt/internal/compiler/SourceElementParser: resolution
class org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter: resolution
exiting : Failures occurred during processing
oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:129)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:103)
and this is same with other libraries i try to compile.So I came up with another idea to put all my libraries inside class path like below.However, it didnt changed anything.
D:\commons-beanutils-1.8.0.jar;D:\commons-collections-2.1.1.jar;D:\commons-digester-1.7.jar;D:\commons-logging-1.0.4.jar;D:\iText-2.1.7.jar;D:\jasperreports-4.1.1.jar;D:\jdt-compile.jar
Can you plz tell me where I am wrong?
Edited by: SARA3 on Aug 16, 2011 1:14 AM
Edited by: SARA3 on Aug 16, 2011 1:15 AM