on 03-20-2006 9:09 PM
Guys,
I am trying to build a web application set-up from within JDI. The project consists of a Web App DC and an EAR DC.
It is a simple application that used to run on the 6.20 server. It has references to JDOM, JCO and Log4J. I can't seem to set-up the references correctly.. Any advice? Here is the build report..
Mar 20, 2006 4:06:37 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: em/theapp/web: Build failed for mycomp.com/em/theapp/web(mycomp.com_theapp_INTERFACE_1) in variant "default": Compile failed; see the compiler error output for details.
The Build terminated with errors
-
Build log -
Build Plugin 'WebModulePlugin', Version 6.40 SP 16 (630_VAL_REL, built on 2006-02-09 00:06:54 CET)
development component: em/theapp/web (mycomp.com)
software component: theapp_INTERFACE (mycomp.com)
location: J2E_theapp_D
type: J2EE, subtype WebModule
build variant: default
source location: http://obcbox:50000/dtr/ws/theapp/mycomp.com_theapp_INTERFACE/dev/inactive/
plugin start time: 2006-03-20 16:06:36 GMT-05:00 (EST)
Java VM: Java HotSpot(TM) Client VM, 1.4.2_07-b05 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Plugin initialized in 0.06 seconds
Starting build (wrapped)
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.04 seconds
Executing macro file..
Using macro file: C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\sap.com\tc\bi\bp\webmodule\_comp\gen\default\public\web\macros\build.vm
Creating output file: C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\gen\default\logs\build.xml
Macro file executed in 0.341 seconds
Starting Ant..
Using build file: C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: C:\Documents and Settings\jarrod.littlejohn\.dtc\3\t\FEACCFDC5F881765D667E2C77288C0C5
Using Ant version: 1.5.4
prepare:
compile:
[echo] Starting Java compiler
[javac] Compiling 17 source files to C:\Documents and Settings\jarrod.littlejohn\.dtc\3\t\FEACCFDC5F881765D667E2C77288C0C5\classes
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:18: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:19: package org.jdom does not exist
import org.jdom.Document;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:20: package org.jdom does not exist
import org.jdom.Element;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:21: package org.jdom does not exist
import org.jdom.JDOMException;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:22: package org.jdom.input does not exist
import org.jdom.input.SAXBuilder;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:28: package com.sap.mw.jco does not exist
import com.sap.mw.jco.JCO;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:49: cannot resolve symbol
symbol : class Logger
location: class com.cpc.atp.handlers.theappHttpHandler
static Logger log = Logger.getLogger(theappHttpHandler.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:9: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:12: package com.sap.mw.jco does not exist
import com.sap.mw.jco.IFunctionTemplate;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:13: package com.sap.mw.jco does not exist
import com.sap.mw.jco.IRepository;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:14: package com.sap.mw.jco does not exist
import com.sap.mw.jco.JCO;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:26: cannot resolve symbol
symbol : class Logger
location: class com.cpc.atp.handlers.JCOWrapper
Logger log = Logger.getLogger(JCOWrapper.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:27: cannot resolve symbol
symbol : class IFunctionTemplate
location: class com.cpc.atp.handlers.JCOWrapper
private IFunctionTemplate m_ftemplate;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:50: package JCO does not exist
public JCO.Structure getHistory(String strPIN)
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:173: package JCO does not exist
public void releaseClient(JCO.Client m_client) {
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:183: package JCO does not exist
public JCO.Client getClient() {
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:206: package JCO does not exist
public void removeClient(JCO.Client m_client) {
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:215: package JCO does not exist
public String convertStructIntoXml(JCO.Structure jcoStruct, ShipmentTrackingRequest requestObject)
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\CodeMapper.java:11: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\CodeMapper.java:22: cannot resolve symbol
symbol : class Logger
location: class com.cpc.atp.utils.CodeMapper
static Logger log = Logger.getLogger(CodeMapper.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:13: package org.apache.log4j does not exist
import org.apache.log4j.Category;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:14: package org.apache.log4j does not exist
import org.apache.log4j.LogManager;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:15: package org.apache.log4j does not exist
import org.apache.log4j.RollingFileAppender;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:49: cannot resolve symbol
symbol : variable Logger
location: class com.cpc.atp.handlers.theappHttpHandler
static Logger log = Logger.getLogger(theappHttpHandler.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:75: cannot resolve symbol
symbol : class SAXBuilder
location: class com.cpc.atp.handlers.theappHttpHandler
SAXBuilder objParser = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:76: cannot resolve symbol
symbol : class Document
location: class com.cpc.atp.handlers.theappHttpHandler
Document objDoc = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:77: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:78: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objRootNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:79: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objPinNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:80: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objUserIdNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:81: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objUserPwdNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:82: cannot resolve symbol
symbol : class Element
location: class com.cpc.atp.handlers.theappHttpHandler
Element objApiVerNode = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:106: cannot resolve symbol
symbol : class SAXBuilder
location: class com.cpc.atp.handlers.theappHttpHandler
objParser = new SAXBuilder();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:164: cannot resolve symbol
symbol : class JDOMException
location: class com.cpc.atp.handlers.theappHttpHandler
catch (JDOMException e) {
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:185: package JCO does not exist
JCO.Structure structResp = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:217: package JCO does not exist
JCO.Structure objErrorStructItemLevel = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:218: package JCO does not exist
JCO.Structure objErrorStructResponseLevel = jcoStruct.getField("CPC_ERROR").getStructure();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:219: package JCO does not exist
JCO.Table objPinsTable = jcoStruct.getTable("PINS");
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:262: package JCO does not exist
JCO.Structure shipFromAddressStuct = objPinsTable.getField("SHIPFROMADDRESS").getStructure();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:268: package JCO does not exist
JCO.Structure shipToAddressStuct = objPinsTable.getField("SHIPTOADDRESS").getStructure();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:274: package JCO does not exist
JCO.Structure packageDetail = objPinsTable.getField("EVENTS").getStructure().getField("MOSTSIGNIFICANTEVENT").getStructure();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:279: package JCO does not exist
JCO.Structure packageDAddress = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\theappHttpHandler.java:281: package JCO does not exist
JCO.Table packageHeaderExtra = objPinsTable.getField("EVENTS").getStructure().getField("EVENT").getTable();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:26: cannot resolve symbol
symbol : variable Logger
location: class com.cpc.atp.handlers.JCOWrapper
Logger log = Logger.getLogger(JCOWrapper.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:53: package JCO does not exist
JCO.Function m_function = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:54: package JCO does not exist
JCO.Structure structRet = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:55: package JCO does not exist
JCO.Client m_client = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:57: package JCO does not exist
m_function = new JCO.Function(m_ftemplate);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:69: package JCO does not exist
JCO.Table ITEMS = m_function.getImportParameterList().getTable("ITEMS");
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:102: package JCO does not exist
JCO.Client m_client = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:121: package JCO does not exist
JCO.Pool pool = JCO.getClientPoolManager().getPool(strPoolName);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:121: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
JCO.Pool pool = JCO.getClientPoolManager().getPool(strPoolName);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:126: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
JCO.addClientPool( strPoolName, intMaxNumPooledConn, strClient, strUser, strPasswd, "", strAshost, strSysnr);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:128: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
JCO.addClientPool( strPoolName, intMaxNumPooledConn, strClient, strUser, strPasswd, "", strMshost, strR3name, strGroup);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:132: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.getClient(strPoolName);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:139: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.createClient(strClient, strUser, strPasswd, "", strAshost, strSysnr);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:141: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.createClient(strClient, strUser, strPasswd, "", strMshost, strR3name, strGroup);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:146: cannot resolve symbol
symbol : class IRepository
location: class com.cpc.atp.handlers.JCOWrapper
IRepository m_repository = JCO.createRepository(strRepositoryName, m_client);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:146: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
IRepository m_repository = JCO.createRepository(strRepositoryName, m_client);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:175: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
JCO.releaseClient(m_client);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:184: package JCO does not exist
JCO.Client m_client = null;
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:186: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.getClient(strPoolName);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:190: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.createClient(strClient, strUser, strPasswd, "", strAshost, strSysnr);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\handlers\JCOWrapper.java:192: cannot resolve symbol
symbol : variable JCO
location: class com.cpc.atp.handlers.JCOWrapper
m_client = JCO.createClient(strClient, strUser, strPasswd, "", strMshost, strR3name, strGroup);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\CodeMapper.java:22: cannot resolve symbol
symbol : variable Logger
location: class com.cpc.atp.utils.CodeMapper
static Logger log = Logger.getLogger(CodeMapper.class);
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:27: cannot resolve symbol
symbol : variable Category
location: class com.cpc.atp.utils.ConfigureLogging
Enumeration cats = Category.getRoot().getAllAppenders();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:30: cannot resolve symbol
symbol : class RollingFileAppender
location: class com.cpc.atp.utils.ConfigureLogging
RollingFileAppender appender = (RollingFileAppender)cats.nextElement();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:30: cannot resolve symbol
symbol : class RollingFileAppender
location: class com.cpc.atp.utils.ConfigureLogging
RollingFileAppender appender = (RollingFileAppender)cats.nextElement();
^
C:\Documents and Settings\jarrod.littlejohn\.dtc\3\DCs\mycomp.com\em\theapp\web\_comp\source\com\cpc\atp\utils\ConfigureLogging.java:40: cannot resolve symbol
symbol : variable LogManager
location: class com.cpc.atp.utils.ConfigureLogging
LogManager.shutdown();
^
69 errors
Ant runtime 0.601 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2006-03-20 16:06:37 GMT-05:00 (EST)
Total build plugin runtime: 1.052 seconds
Build finished with ERROR
Hi Jarrod,
Ensure that the following SCs are included in the 'Usage Dependencies': SAP-JEE, SAP_BUILDT and SAP_JTECHS.
Regards
Krupa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Krupa,
I have SAP-JEE, SAP_BUILDT and SAP_JTECHS all configured correctly. I have gotten two example SC's working previous to this.
I think my problem now is figuring out how to add the references for JDOM, Log4J and JCO (see my build error log).
I have tried a number of things like adding them to the Java Build Path...but nothing seems to work.
Thanks,
Some of the references you need are in the 3 base SC's. JDom and log4j are not SAP software and are thus not part of the 3 base SC's. For these you must create External Library DC's. If you need to deploy these libraries to your server, you must encapsulate the External Library DC's in J2EE Library DC's or encapsulate them in the using DC's directly.
Thanks Pascal,
I think you have put me on the right track however I still need a little help to get this solved.
I have created an external library DC. I am trying to add the jars to the library folder and add public parts for each jar.
Could you explain in a little more detail how to do this.
I am using SP16
Thanks,
BTW for others having problems this is a very good post on this subject ()
Message was edited by: Jarrod Littlejohn
Hey Pascal,
No youre not being rude. And yes I have tried the forum prior to creating this post.
I think I have a legitimate beef. I am following these instructions for creating an External Library DC (to me a very foreign concept coming from industry J2EE practices, but I'll play along with the SAP methodology)...
http://help.sap.com/saphelp_nw04/helpdata/en/5a/2e2f4234135433e10000000a155106/frameset.htm
Right off the bat I noticed that when I try and create an External Library DC that I don't have that option (again I am using SP16). I mistakenly was creating a normal Java DC (which does not have a libraries folder associated with it) this doesn't work.
Any ideas / help would be appreciated.
Thanks,
Jarrod
Hi Jarrod,
Since you have created the Java DC(JDC) with required libraries in it, you can create a J2EE Library DC(J2DC), declare JDC as a Used DC in J2DC.
In your webdynpro(URDC), declare a Usage Dependency for JDC and J2DC, and in the webdynpro project properties -> Webdynpro References -> Library references, make an entry of the type local.com~mywebdynprodc.
Build & Deploy J2DC (u cannot deploy JDC). Deploy URDC and then run your app.
Let me know if you face any problems.
Thanks,
Rajit
Hi Jarrod,
Please follow this procedure.
Create a Java DC:
1)Place the jars in _comp/src/packages within the Java DC Component.
2)Place the build.vm in the components config area : _comp/cfg. This ensures all *.jar files placed in the src/packages area are copied into every public part created for this component.
3)Create a public part runtime of type Can be packaged into other build results eg SDAs. Add no entries or entities to this pp.
4)Create another public part compiletime of type Provides an API for developing/compiling other DCs
5)Build the DC. You should see two public part structures generated on the file system one for each pp specified
6)Double check that the public parts contain any 3rd party jars you placed in src/packages
Contents of build.vm file:
<!--
This script copies all *.jar files below src/packages
to the folders generated by every public part of the DC.
-->
<project name="Copy jar" basedir="." default="build">
<target name="build" depends="copy" />
<target name="copy">
#foreach($pp in $dc_public_parts)
<echo message="Public Part: $pp.Name"/>
#set( $ppdir = "$/${pp.Name}" )
<mkdir dir="$ppdir/lib/java" />
<copy todir="$ppdir/lib/java" >
<fileset dir="$/src/packages/" >
<include name="*.jar"/>
</fileset>
</copy>
#end
</target>
</project>
Create a J2EE Server Component (Library) DC:
1)Create a usage dependency for the above Java DC using public part (runtime)
2)This J2EE DC is a deployable DC and ensures each time you build this DC, the jars from Java DC are included.
3)Build this DC and check the sda file. It should include the jars.
4)Deploy this DC.
Your Webdynpro DC:
1)Add a Used DC (usage dependency) for the 'compiletime' pp of the above Java DC.
2)In project properties, create a Library reference for this J2EE DC (please see above messages).
Hope this helps.
Thanks,
Rajit
Message was edited by: Rajit Srinivas
Hi, Rajit, Jarrod,
actually there exists a special "External Library" DC type since at least SP12 that can be used instead of the Java DC with the special build.vm.
Alas, it seems the SP16 release has a bug so that jar files from such an external library are not assembled into J2EE Libraries. Hopefully, SAP will provide a patch for that soon.
Best regards,
Marc
Just to clarify,
I am using SP 16 for my NWDS and NWDI. I don't have a DC create option for an "External Library".
I have another problem now related to all of this.
While I was able to successfully build and deploy locally. When I try and activate all of my activities the the activites sit in a queued state and don't go anywhere..
I think I'm going back to my old CVS, AntHill, Eclipse development methodology.. This SAP thing (NWDI) looks like it will cost me and my company a lot of money, or at least until they make it production grade..
Is anyone else struggling with SP16 like I am..?
Thnaks,
Jarrod
Hey,
we have the same problem adding an external Jar in SP09 (for some reason, we cannot switch to another version...). We want to include Beans in a model to access a Dictionary Project.
I followed your instructions, using a Java DC which includes the jar, a J2EE Server Component Library and a Web Dynpro DC.
However, the deployment only finishes with warnings, I recieve the following error:
Finished with warnings: development component 'wd/hhm/abpt/ui'/'uni-name.de'/'LOKAL'/'0.2007.02.12.12.10.15':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException:
Error occurred while starting application uni-name.de/wd/hhm/abpt/ui and wait. Reason: Clusterwide execption: server ID 561466250:
<--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException:
<--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING',
Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException:
<--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID=' STATUS_MISSING', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key STATUS_MISSING (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : Got problems during deployment
When running the application, I recieve
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to start the deployable object 'uni-name.de/wd~hhm~abpt~ui'.
Do you have any idea what went wrong and where the error results from?
Thanks a lot in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.