Issues with openCRX installation on windows - build faliure

View: New views
2 Messages — Rating Filter:   Alert me  

Issues with openCRX installation on windows - build faliure

by tom morgan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am a newbie as far as openCRX is concerned. I followed online manual to install openCRX but I am stuck with "run deliverables" command. Build failed and following is the error message.

compile-java:
    [javac] Compiling 148 source files to C:\Program Files\openmdxSdk-2.5.1\open
mdx-2.5.1\core\build\jre-1.5\bin
    [javac] C:\Program Files\openmdxSdk-2.5.1\openmdx-2.5.1\core\src\java\org\op
enmdx\application\spi\LateBindingDataSource.java:66: org.openmdx.application.spi
.LateBindingDataSource is not abstract and does not override abstract method isW
rapperFor(java.lang.Class<?>) in java.sql.Wrapper
    [javac] public class LateBindingDataSource implements DataSource {
    [javac]        ^
    [javac] C:\Program Files\openmdxSdk-2.5.1\openmdx-2.5.1\core\src\java\org\op
enmdx\state2\cci\DateStateViews.java:238: refContainer(org.openmdx.base.naming.P
ath,java.lang.Class<org.w3c.cci2.Container<javax.jmi.reflect.RefObject>>) in org
.openmdx.base.accessor.jmi.cci.RefPackage_1_0 cannot be applied to (org.openmdx.
base.naming.Path,java.lang.Class<?>)
    [javac]         ).refContainer(
    [javac]          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

BUILD FAILED
C:\Program Files\openmdxSdk-2.5.1\openmdx-2.5.1\ant\etc\ant\build-library.xml:95
5: Compile failed; see the compiler error output for details.

Total time: 8 seconds

I am using JDK 1.6 and want to set this up on tomcat server. Kindly help me in solving this issue.

Regards,

Tom

Re: Issues with openCRX installation on windows - build faliure

by Christoph Mueller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I am using JDK 1.6 and want to set this up on tomcat server.

this is guaranteed to NOT work!

the more newbie you are the closer you should stick to the
guides; hence, when it says "Install the Sun Java JDK 5.0"
you should really install JDK 5 and not some other version:
http://www.opencrx.org/opencrx/2.5/tomcat-6/openCRX_Installation_Tomcat-6.html#2.1.JDK%205.0|outline

Regards,
Chris

tom morgan wrote:

> Hi,
>
> I am a newbie as far as openCRX is concerned. I followed online manual to
> install openCRX but I am stuck with "run deliverables" command. Build failed
> and following is the error message.
>
> compile-java:
>     [javac] Compiling 148 source files to C:\Program
> Files\openmdxSdk-2.5.1\open
> mdx-2.5.1\core\build\jre-1.5\bin
>     [javac] C:\Program
> Files\openmdxSdk-2.5.1\openmdx-2.5.1\core\src\java\org\op
> enmdx\application\spi\LateBindingDataSource.java:66:
> org.openmdx.application.spi
> .LateBindingDataSource is not abstract and does not override abstract method
> isW
> rapperFor(java.lang.Class<?>) in java.sql.Wrapper
>     [javac] public class LateBindingDataSource implements DataSource {
>     [javac]        ^
>     [javac] C:\Program
> Files\openmdxSdk-2.5.1\openmdx-2.5.1\core\src\java\org\op
> enmdx\state2\cci\DateStateViews.java:238:
> refContainer(org.openmdx.base.naming.P
> ath,java.lang.Class<org.w3c.cci2.Container<javax.jmi.reflect.RefObject>>) in
> org
> .openmdx.base.accessor.jmi.cci.RefPackage_1_0 cannot be applied to
> (org.openmdx.
> base.naming.Path,java.lang.Class<?>)
>     [javac]         ).refContainer(
>     [javac]          ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 2 errors
>
> BUILD FAILED
> C:\Program
> Files\openmdxSdk-2.5.1\openmdx-2.5.1\ant\etc\ant\build-library.xml:95
> 5: Compile failed; see the compiler error output for details.
>
> Total time: 8 seconds
>
> I am using JDK 1.6 and want to set this up on tomcat server. Kindly help me
> in solving this issue.
>
> Regards,
>
> Tom

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
openCRX-developers mailing list
openCRX-developers@...
https://lists.sourceforge.net/lists/listinfo/opencrx-developers