on 03-21-2006 9:09 PM
Hello,
I completed the JSP version of the car rental application and it works and now I am working on the Web Dynpro example but have run into a few problems.
I had over 600 errors at first, but after adding some external jars from com.sap.engine.webservices\lib
and downloading JAX-RPC, (http://java.sun.com/xml/downloads/jaxrpc.html), im down to the following error:
This compilation unit indirectly references the missing type com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReader (typically some required class file is referencing a type outside the classpath)
Does anyone know where I can find the above library I am missing? Im not the only person working on the example in my department and we all have the same problem. Could it be possible that our NWDS was not setup properly? This is our first attempt at using NWDS and we are using version: 2.0.15, build id: 200511290548.
Thanks
Hi Stefan,
Mentioned class is part of sapxmltoolkit.jar (search in your NWDS directory).
You don`t need to add JAX-RPC directly.
To build WD project you need following jars
<i>WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_basesrvc.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_admin.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_clientserver.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_services.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_modelimpl.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository_pmr.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_model_dynamicrfc.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling_api.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/com_sap_tc_graphics_igs.jar
WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/jARM.jar
WD_RUNTIME/com.sap.ide.jcb.core/SAPJavaConnectivityBuilderCore.jar
WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_proxy_rt.jar
WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_util_misc.jar
WD_RUNTIME/com.sap.mw.jco/lib/sapjco.jar
WD_RUNTIME/com.tssap.sap.libs.logging/lib/logging.jar
WD_RUNTIME/com.tssap.sap.libs.logging/lib/loggingStandard.jar
WD_RUNTIME/com.tssap.sap.libs.logging/lib/jARM.jar
WD_RUNTIME/com.sap.exception/lib/exception.jar
WD_RUNTIME/com.sap.sld.client/lib/lcrclient.jar
WD_RUNTIME/com.sap.tc.cmi/_cmi_api.jar
WD_RUNTIME/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar
WD_RUNTIME/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar
WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar
</i>
Just make sure that you have all of them in classpath.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maksim, I had all the jars except for the security one. I still needed JAX-RPC and a few others as well in order for it to work.
Why would I need to import so many jars into my project? Do you think it was the way our NWDS was setup? I have the J2EE engine on my PC. Thanks in advance.
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Armin, here is the contents of my .classpath file
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/packages"/>
<classpathentry kind="src" path="gen_ddic/datatypes"/>
<classpathentry kind="src" path="gen_wdp/packages"/>
<classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_basesrvc.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_basesrvc.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_admin.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_admin.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_clientserver.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_clientserver.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_progmodel.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_services.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_services.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_modelimpl.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_modelimpl.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository_pmr.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_repository_pmr.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_model_dynamicrfc.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_model_dynamicrfc.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling_api.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling_api.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/_webdynpro_runtime_designtime_coupling.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/com_sap_tc_graphics_igs.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/com_sap_tc_graphics_igs.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/jARM.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.webdynpro.runtime/lib/jARM.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.ide.jcb.core/SAPJavaConnectivityBuilderCore.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.ide.jcb.core/SAPJavaConnectivityBuilderCore.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_proxy_rt.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_proxy_rt.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_util_misc.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.ide.jcb.core/lib/aii_util_misc.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.mw.jco/lib/sapjco.jar" rootpath="" sourcepath="WD_RUNTIME/com.sap.mw.jco/lib/sapjco.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.tssap.sap.libs.logging/lib/logging.jar"
rootpath="" sourcepath="WD_RUNTIME/com.tssap.sap.libs.logging/lib/logging.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.tssap.sap.libs.logging/lib/loggingStandard.jar"
rootpath="" sourcepath="WD_RUNTIME/com.tssap.sap.libs.logging/lib/loggingStandard.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.tssap.sap.libs.logging/lib/jARM.jar"
rootpath="" sourcepath="WD_RUNTIME/com.tssap.sap.libs.logging/lib/jARM.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.exception/lib/exception.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.exception/lib/exception.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.sld.client/lib/lcrclient.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.sld.client/lib/lcrclient.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.tc.cmi/_cmi_api.jar" rootpath="" sourcepath="WD_RUNTIME/com.sap.tc.cmi/_cmi_api.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar"/>
<classpathentry kind="var"
path="WD_RUNTIME/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar"
rootpath="" sourcepath="WD_RUNTIME/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.