-
1. Re: Duke's Bank Build Fail
johnd Feb 28, 2005 5:30 PM (in response to griojas)I have the exact same problem - Any answerss anyone?
-
2. Re: Duke's Bank Build Fail
simonk99 Mar 1, 2005 11:19 AM (in response to griojas)I am getting the same issue.. The required directory exists elsewhere in the install but moving it to the suggested location just results in further errors. Any ideas?
-
3. Re: Duke's Bank Build Fail
truyen Mar 1, 2005 2:37 PM (in response to griojas)edit your c:\j2eetutorial\bank\jboss-build.xml and replace:
<fileset dir="${jboss.home}/server/all/deploy/jboss-net.sar"> <include name="*.jar"/> </fileset>
with this:
<fileset dir="${jboss.home}/server/all/deploy/jboss-ws4ee.sar"> <include name="*.jar"/> </fileset>
-
4. Re: Duke's Bank Build Fail
simonk99 Mar 2, 2005 10:32 AM (in response to griojas)Thanks but am now getting the following when I try to build:
compile:
[javac] Compiling 1 source file to C:\JBOSS\j2eetutorial14\bank\build
[javac] C:\JBOSS\j2eetutorial14\bank\src\WSClient.java:2: cannot access org.
apache.axis.client.Call
[javac] bad class file: C:\JBOSS\jboss\client\axis-ws4ee.jar(org/apache/axis
/client/Call.class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the correct subdirectory of
the classpath.
[javac] import org.apache.axis.client.Call;
[javac] ^
[javac] 1 error
BUILD FAILED
C:\JBOSS\j2eetutorial14\bank\jboss-build.xml:49: Compile failed, messages should
have been provided. -
5. Re: Duke's Bank Build Fail
norman.richards Mar 2, 2005 10:58 AM (in response to griojas)Somehow you have compiled the code with Java 1.5 but are trying to run it with 1.4
-
6. Re: Duke's Bank Build Fail
simonk99 Mar 2, 2005 11:34 AM (in response to griojas)Hi Norman,
Are you refering to WSDP V1.5 as I have Java 1.4.2 installed.
I am a little confused as I have just unpacked the code as instructed and followed the steps in the manual. Is there anywhere that the 1.5 and 1.4 values would have been set..?
Regards
Simon -
7. Re: Duke's Bank Build Fail
griojas Mar 3, 2005 10:48 AM (in response to griojas)Thanks guys I changed the jboss-net.sar file and now it works.
-
8. Re: Duke's Bank Build Fail
anushi2004 Mar 6, 2005 3:50 PM (in response to griojas)Hi,
I am using the same configuration ( Jdk1.4.2 , Ant 1.6.2 and JBoss 4.0.1 ).
When I execute the command ' ant -f jboss-build.xml compile '
I get the following error :
=============================================
Buildfile: jboss-build.xml
prepare:
compile:
[javac] Compiling 56 source files to C:\J2EE-1~1\J2EETU~1\EXAMPLES\BAN
K\build
[javac] C:\J2EE-1~1\J2EETU~1\EXAMPLES\BANK\src\com\sun\ebank\web\templ
ate\DefinitionTag.java:31: cannot resolve symbol
[javac] symbol : class SimpleTagSupport
[javac] location: package tagext
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] C:\J2EE-1~1\J2EETU~1\EXAMPLES\BANK\src\com\sun\ebank\web\templ
ate\DefinitionTag.java:34: cannot resolve symbol
[javac] symbol : class SimpleTagSupport
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] public class DefinitionTag extends SimpleTagSupport {
[javac] ^
....
BUILD FAILED
===============================================
I understand that it is not able to find javax.servlet.jsp.tagext.SimpleTagSupport and related files . Which jar file do I need to include in the classpath ??
Thanks .