Ee tutorials - ant error on building .war
Hi
I recently started learning J2EE using this nice tutorial on the Sun website. I got into chapter 3 and there was a discussion about a bundle of example web applications generally... these are hello1, hello2, hello3 and 6 of duke's bookstore examples.
I was just following tutorial and I managed to build and deploy hello1 example, it was cool. But then hello2 didn't work. I tried many many chekings amendments etc... but it is over my skill. I also found out that none of duke's bookstore examples are working, and it is for a very same reason as hello2 example. However hello3 example works fine again.
btw, I wanted to use NB (6.1) but attached nb project files for these tutorials are somewhat not compatible with the latest 6.1 version. at least, my nb did not let me to open these. so i end up with ant. and here is the error which is given by ant, and when i am in a hello2 dir and type "ant" into my command prompt.
-pre-init:
init:
default-ear:
-pre-compile:
bpp-actual-compilation:
[echo] Compiling hello2
[javac] Compiling 2 source files to D:\Java\tutorial\examples\web\hello2\build\web\WEB-INF\classes
BUILD FAILED
D:\Java\tutorial\examples\bp-project\command-line-ant-tasks.xml:92: D:\Java\tutorial\examples\web\hello2\"D:\Java\AppServer" not found.
Total time: 0 secondsI hope you are able to catch what is this message talking about, i do not understand why is this ant trying to look into hello2 dir concatenated with appserv root directory at first place.
My appserv is installed in D:\\Java\\AppServer
and tutorial is located in D:\\Java\\tutorial
I am sure that my bp-project\\build.properties is configured pretty well (unless it is not :).
and this is the extract of command-line-and-tasks.xml, of that ellement which has line 92 in it...
<target name="bpp-actual-compilation" if="has-java-sources">
<echo>Compiling ${module.name}</echo>
<mkdir dir="${build.classes.dir}"/>
<javac srcdir="${src.dir}"
source="${default.javac.source}"
target="${default.javac.target}"
excludes="${javac.excludes}"
debug="${javac.debug}"
debuglevel="${javac.debuglevel}"
destdir="${build.classes.dir}"
includes="**">
<classpath refid="classpath"/>
</javac>
</target>
so i don't know, what is going on? why is it constructing such a weird path which cannot be valid obviously?
Edited by: wandue on Sep 22, 2008 6:59 AM
OK, forget about it,
I scrapped it all, deleted tutorials, unzipped them again, set the parameters, and it looks working now,
must have been something silly
Similar Messages
-
[plz Help]: error while executing ant build-war
Hi,
while running the example of JAX-RPC provided by JWSDP 2.0 i am getting the following error
so please do help me on this..........
i am using JWSDP 2.0 and apache-tomcat-5.5.20
C:\Sun\jwsdp-2.0\jaxrpc\samples\HelloWorld>ant build-war
Buildfile: build.xml
init:
[echo] -------- HelloWorld Sample --------
prepare:
[mkdir] Created dir: C:\Sun\jwsdp-2.0\jaxrpc\build\samples\HelloWorld\classe
s\server
generate-server:
edit-config:
unedit-config:
compile-server:
[javac] Compiling 1 source file to C:\Sun\jwsdp-2.0\jaxrpc\build\samples\Hel
loWorld\classes\server
create-war:
[war] Building war: C:\Sun\jwsdp-2.0\jaxrpc\build\samples\HelloWorld\jaxrp
c-HelloWorld-raw.war
[delete] Deleting directory C:\Sun\jwsdp-2.0\jaxrpc\build\samples\HelloWorld\
classes\server
build-war:
[echo] -------- HelloWorld --------
[wsdeploy] command line: -keep -o C:\Sun\jwsdp-2.0\jaxrpc\build\samples\HelloWo
rld\jaxrpc-HelloWorld.war -verbose C:\Sun\jwsdp-2.0\jaxrpc\build\samples\HelloWo
rld\jaxrpc-HelloWorld-raw.war -classpath C:\Sun\jwsdp-2.0\jwsdp-shared\lib\mail.
jar;C:\Sun\jwsdp-2.0\jwsdp-shared\lib\activation.jar;C:\Sun\jwsdp-2.0\jaxp\lib\j
axp-api.jar;C:\Sun\jwsdp-2.0\jaxp\lib\endorsed\dom.jar;C:\Sun\jwsdp-2.0\jaxp\lib
\endorsed\sax.jar;C:\Sun\jwsdp-2.0\jaxp\lib\endorsed\xalan.jar;C:\Sun\jwsdp-2.0\
jaxp\lib\endorsed\xercesImpl.jar;C:\Sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-api.jar;C:\S
un\jwsdp-2.0\jaxrpc\lib\jaxrpc-spi.jar;C:\Sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-impl.j
ar;C:\Sun\jwsdp-2.0\saaj\lib\saaj-api.jar;C:\Sun\jwsdp-2.0\saaj\lib\saaj-impl.ja
r;C:\Sun\jwsdp-2.0\jwsdp-shared\lib\relaxngDatatype.jar;C:\Sun\jwsdp-2.0\jwsdp-s
hared\lib\xsdlib.jar;C:\Sun\jwsdp-2.0\jwsdp-shared\lib\jax-qname.jar;C:\Sun\jwsd
p-2.0\apache-ant\lib\ant.jar
[wsdeploy] info: created temporary directory: C:\DOCUME~1\Nihar\LOCALS~1\Temp\j
axrpc-deploy-8137cc
[wsdeploy]
[wsdeploy] [CustomClassGenerator: Class hello.HelloIF_sayHelloBack_RequestStruc
t exists. Not overriding.]
[wsdeploy] [CustomClassGenerator: Class hello.HelloIF_sayHelloBack_ResponseStru
ct exists. Not overriding.]
[wsdeploy] [CustomClassGenerator: Class hello.HelloIF_sayHelloBackOneWay_Reques
tStruct exists. Not overriding.]
[wsdeploy] [SOAPObjectSerializerGenerator: writing serializer/deserializer for
: {http://hello.org/wsdl}sayHelloBack]
[wsdeploy] [SOAPObjectSerializerGenerator: writing serializer/deserializer for
: {http://hello.org/wsdl}sayHelloBackResponse]
[wsdeploy] [SOAPObjectSerializerGenerator: writing serializer/deserializer for
: {http://hello.org/wsdl}sayHelloBackOneWay]
[wsdeploy] [SOAPObjectBuilderGenerator: writing object builder for: sayHelloBac
k]
[wsdeploy] [SOAPObjectBuilderGenerator: writing object builder for: sayHelloBac
kResponse]
[wsdeploy] [SOAPObjectBuilderGenerator: writing object builder for: sayHelloBac
kOneWay]
[wsdeploy] [SerializerRegistryGenerator: creating serializer registry: hello.He
lloWorldService_SerializerRegistry]
[wsdeploy] info: created output war file: C:\Sun\jwsdp-2.0\jaxrpc\build\samples
\HelloWorld\jaxrpc-HelloWorld.war
[wsdeploy]
[echo] Copying jaxrpc-HelloWorld.war to ../../build/../../jaxrpc/samples/He
lloWorld
[copy] Copying 1 file to C:\Sun\jwsdp-2.0\jaxrpc\samples\HelloWorld
BUILD SUCCESSFUL
Total time: 4 secondsFirst thing, when Jdev does the automatic compilation, then why to bother for an ant script.
and further as the script output says, check the compiler error log for a detailed information. From the error output you have posted, it seems that framework library files are not on the classpath and hence you are getting the issue.
--Shiv -
Compiling Flash Builder Projects with ant - error
I'm fairly new to FlashBuilder as well as using ant to build projects.
I'm working on a project in FlashBuilder 4.5. I'm using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.
The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don't know what that addition/edit would be.
Any help appreciated.Apparently related to switching workspaces... the error log identifies a path to an old workspace I changed out of weeks ago. I created a new workspace and moved the project (just the source, etc, not the settings) into it. been running fine for a while now... though funny how this problem didn't show up until yesterday.
-
Getting an error while building a sample web service
Hi,
I am beginner in web services and started working on a sample application in a web service tutorial.
Build is failing in build.xml file while building sample web service using ant tool.
antBuildfile: build.xml
clean:
setup:
[mkdir] Created dir: /tmp/output/WEB-INF/classes
[mkdir] Created dir: /tmp/client_classes
compile.server:
[javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
webservice.build:
webss.build:
BUILD FAILED
Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Can anyone look into this and let me know if you have any idea on this?
Thanks,
SRoop.
Edited by: SRoop on Jun 20, 2008 9:11 AM
Edited by: SRoop on Jun 20, 2008 9:14 AM
Edited by: SRoop on Jun 21, 2008 5:51 AMHi,
I am beginner in web services and started working on a sample application in a web service tutorial.
Build is failing in build.xml file while building sample web service using ant tool.
antBuildfile: build.xml
clean:
setup:
[mkdir] Created dir: /tmp/output/WEB-INF/classes
[mkdir] Created dir: /tmp/client_classes
compile.server:
[javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
webservice.build:
webss.build:
BUILD FAILED
Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Can anyone look into this and let me know if you have any idea on this?
Thanks,
SRoop.
Edited by: SRoop on Jun 20, 2008 9:11 AM
Edited by: SRoop on Jun 20, 2008 9:14 AM
Edited by: SRoop on Jun 21, 2008 5:51 AM -
Error while building javaeetutorial5
When I try to build "bookstore" from javaeetutorial5 I get this error:
Buildfile: build.xml
-pre-init:
init:
default-ear:
-pre-compile:
bpp-actual-compilation:
[echo] Compiling bookstore
[javac] Compiling 11 source files to /opt/javaeetutorial5/examples/web/bookstore/build/classes
BUILD FAILED
/opt/javaeetutorial5/examples/bp-project/command-line-ant-tasks.xml:89: /opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found.
Total time: 1 second
The solution is to edit the file /javaeetutorial5/examples/bp-project/build.properties.sample
--davidHi David,
Yes, the problem came from the ../bp-project/build.properties & ../bp-project/app-server.properties files. As indicated from your error messages "/opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found." It seems you are using AppServer on a solaris machine while those configuration files are default for window enviroment "c:/Sun/AppServer not found."
Here is what you should to do:
-Copy build.properties.sample to build.properties
-Edit the variables below for the correct path:
javaee.home=<The installation directory of your AppServer>
javaee.server.name=<machine name> (localhost)
javaee.server.port=<The port number for the server instance> (8080)
javaee.server.username=<The administrator username>
javaee.server.passwordfile=</path/to/passwordfile>
Note:
Inside passwordfile add: AS_ADMIN_PASSWORD=<The administrator password>
javaee.adminserver.port=<The port number for admin server> (4848)
-Do the same thing for app-server.properties file (optional)
You can find the information above from the link below
http://java.sun.com/javaee/5/docs/tutorial/doc/
Section: About The Examples
-davis -
I've setup the build environment for the VSM, but I can't get the VSM.ear to deploy in OC4J. Here is what I see when I build:
Buildfile: build.xml
init:
copy:
compile:
[unjar] Expanding: E:\oc4j\lib\oraclexsql.jar into E:\vsm-i18n\classes
[unjar] Expanding: E:\oc4j\lib\xsqlserializers.jar into E:\vsm-i18n\classes
oc4j-war:
[war] Building war: E:\vsm-i18n\classes\VSMWeb.war
[war] Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
ejbjar:
[jar] Building jar: E:\vsm-i18n\classes\VSMEJB.jar
oc4j-ear:
[ear] Building ear: E:\vsm-i18n\classes\VSM.ear
[delete] Deleting: E:\vsm-i18n\classes\VSMWeb.war
[delete] Deleting: E:\vsm-i18n\classes\VSMEJB.jar
[move] Moving 1 files to E:\vsm-i18n
deploy-oc4j:
[java] Invalid initial heap size: -Xms32M -Xmx128M
[java] Could not create the Java virtual machine.
[java] Java Result: 1
[java] Invalid initial heap size: -Xms32M -Xmx128M
[java] Could not create the Java virtual machine.
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 5 seconds
OC4J is already running with the heap size set, but I don't know where the build.xml file is getting these settings. Any help would be appreciated.
Thanks,
BennettThanks for the help. I was able to get further, but now I have another build error:
deploy-oc4j:
[java] Error: org.apache.bcel.generic.Type.getType(Ljava/lang/Class;)Lorg/apache/bcel/generic/Type;
[java] java.lang.NoSuchMethodError: org.apache.bcel.generic.Type.getType(Ljava/lang/Class;)Lorg/apache/bcel/generic/Type;
[java] at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:908)
[java] at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:802)
[java] at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:69)
[java] at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
[java] at __Proxy0.deploy(Unknown Source)
[java] at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
[java] at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:117)
[java] at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:26)
[java] Java Result: 1
[java] Error: bindWebApp() failed!; nested exception is:
[java] oracle.oc4j.admin.internal.DeployerException: Web module VSMWeb does not exist in application vsm
[java] com.evermind.client.orion.AdminCommandException: bindWebApp() failed!; nested exception is:
[java] oracle.oc4j.admin.internal.DeployerException: Web module VSMWeb does not exist in application vsm
[java] at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
[java] at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:117)
[java] at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:26)
[java] java.rmi.RemoteException: bindWebApp() failed!; nested exception is:
[java] oracle.oc4j.admin.internal.DeployerException: Web module VSMWeb does not exist in application vsm
[java] at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:908)
[java] at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:802)
[java] at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:69)
[java] at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
[java] at __Proxy0.bindWebApp(Unknown Source)
[java] at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
[java] at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:117)
[java] at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:26)
[java] Caused by: oracle.oc4j.admin.internal.DeployerException: Web module VSMWeb does not exist in application vsm
[java] at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:187)
[java] at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:362)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:86)
[java] at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:56)
[java] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:297)
[java] at java.lang.Thread.run(Thread.java:534)
[java] ---- Embedded exception
[java] oracle.oc4j.admin.internal.DeployerException: Web module VSMWeb does not exist in application vsm
[java] at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:187)
[java] at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:362)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:86)
[java] at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:56)
[java] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:297)
[java] at java.lang.Thread.run(Thread.java:534)
[java] Java Result: 17
Could you please lend a hand with this one as well? Hopefully, I'm almost to the point where it deploys.
Thanks,
Bennett -
Looking for sample ANT files for building workshop webservice app outside the IDE
Hi,
I am currently planning to use Workshop for implementing a webservice application.
I am looking for any sample ANT files that would enable me to build and deploy
both the webservice EAR and the client JAR outside the IDE.
Thanks,
Bao NguyenHi Raj,
Yup, I did see that sample file. However, it only demontrate how to build an
EAR file. I am also looking for samples of how to generate the client JAR (using
proxy to gain access to the webservice) and also how to deploy the web service
EAR file to the server.
I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
complainted of the missing WAR file. I checked the content of the EAR file and
found no WAR file generated.
I am also looking for a better way of accessing the webservice more generically
instead of going through the proxy which is quite coupled to a specific app server.
Please provide examples.
Regards,
Bao Nguyen
"Raj Alagumalai" <[email protected]> wrote:
Hello Bao,
Please refer to my post "Ant script for building EAR "dated August 21
2003.
I have attached a sample which does this.
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Bao Nguyen" <[email protected]> wrote in message
news:3f61477e$[email protected]..
Hi,
I am currently planning to use Workshop for implementing a webserviceapplication.
I am looking for any sample ANT files that would enable me to buildand
deploy
both the webservice EAR and the client JAR outside the IDE.
Thanks,
Bao Nguyen -
Error while building execution plan
Hi, I'm trying to create an execution plan with container EBS 11.5.10 and subject area Project Analytics.
I get this error while building:
PA-EBS11510
MESSAGE:::group TASK_GROUP_Load_PositionHierarchy for SIL_PositionDimensionHierarchy_PostChangeTmp is not found!!!
EXCEPTION CLASS::: java.lang.NullPointerException
com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesigner.java:818)
com.siebel.analytics.etl.execution.ExecutionPlanDesigner.design(ExecutionPlanDesigner.java:1267)
com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:169)
com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:119)
com.siebel.analytics.etl.client.view.table.EtlDefnTable.doOperation(EtlDefnTable.java:169)
com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53)
com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85)
Sorry for my english, I'm french.
Thank you for helping meHi,
Find the what are all the subjectarea's in execution plan having the task 'SIL_PositionDimensionHierarchy_PostChangeTmp ', add the 'TASK_GROUP_Load_PositionHierarchy ' task group to those those subjectares.
Assemble your subject area's and build the execution plan again.
Thanks -
Error while building sample application "Developing an Order Application"
hi ,
I tried to create a simple Mobile application using the instructions for "Tutorial: Developing an Order Application for Handhelds" given at :-
http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/7294498d870ad3e10000000a11466f/frameset.htm
For the same , by using TCdoe SDOE_WB i created a new SWCV named ORDER_TAKER,
with a Data Object - > ORDER
added Data Object header node -> ORDERHEADER
The ORDERHEADER contains the following fields:
ORDERID CHAR8
CUSTID CHAR4
LONGTEXT CHAR32
SERVICEUNIT CHAR32
CREATED_ON DATS
CREATED_AT TIMS
As per the tutorial I created Mobile Service Component as "order_sv". under which created Data Objects , and a service name orderService . Now when I copied the code of Defining the Custom Methods , I am getting following error while building the MSC........
Line: -----
* [javac] Compiling 8 source files to C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\classes
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class OrderOrderheader
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:49: cannot find symbol
[javac] ERROR: symbol : method valueOf(java.lang.String)
[javac] ERROR: location: class java.util.Date
[javac] ERROR: order.setCreatedOn(Date.valueOf("2007-06-30"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:50: cannot find symbol
[javac] ERROR: symbol : variable Time
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order.setCreatedAt(Time.valueOf("08:45:00"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:77: cannot find symbol
[javac] ERROR: symbol : method valueOf(java.lang.String)
[javac] ERROR: location: class java.util.Date
[javac] ERROR: order.setCreatedOn(Date.valueOf("2007-07-05"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:78: cannot find symbol
[javac] ERROR: symbol : variable Time
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order.setCreatedAt(Time.valueOf("10:00:00"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:80: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OcaRoot.getInstance().commit();
[javac] ERROR: ^
[javac] 30 errors *
Line: -----
Please help...........
Ekam
Edited by: Ekam Preet Singh on Sep 29, 2011 10:32 AMHi,
Please have a look at this thread,
Re: Error in CompatibilityMode
Regards,
Saravanan K -
Error while building SUP based iphone client application
Hi,
I am getting the following error while building the application for iphone simulator. I tried by changing search path settings and added libraries to Link binary search path.I really stuck here. Any body please help me how to solve it.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SUPMessageClient", referenced from:
objc-class-ref in SUP101AppDelegate.o
"_OBJC_CLASS_$_MBOLogger", referenced from:
objc-class-ref in SUP101AppDelegate.o
objc-class-ref in SUP101CallbackHandler.o
Thanks in advance
BalaHi Rockky/Wang
I have added the following libraries to "Link Binary with Libraries" . I am using xcode 4.0.2 , SDK 4.3 and MAC-OS 10.6 . Libraries are belongs to SUP 1.5.5. simulator-- iphonesimulator 4.3
AddressBook.framework
CoreFoundation.framework
QuartzCore.framework
Security.framework
libicucore.A.dylib
libstdc++6.dylib
libz.1.2.3.dylib
libclientrt.a
libMO.a
libSUPObj.a
After adding all these libraries automatically added path to "Link search path" as follows
$(inherited)
"$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib"
"$(SRCROOT)/../../../libs/Debug-iphonesimulator"
Header search path i have given as following
"/Users/RavuriB/includes/**"
"/Users/RavuriB/TravelRequestMAP/Generated Code/**"
Still i am getting the same error
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MBOLogger", referenced from:
objc-class-ref in SUP101CallbackHandler.o
"_OBJC_METACLASS_$_SUPDefaultCallbackHandler", referenced from:
OBJCMETACLASS_$_SUP101CallbackHandler in SUP101CallbackHandler.o
"_OBJC_CLASS_$_SUPDefaultCallbackHandler", referenced from:
OBJCCLASS_$_SUP101CallbackHandler in SUP101CallbackHandler.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
i tried by changing paths differently but no luck.
is that SUP 1.5.5 version is suitable for the xcode version and SDK?. Am I forgot to add any frameworks ? or any thing i need to change. I am really stuck at this problem . Can you Please help me to come out of this problem.
Thanks & Regards
Bala -
hi ,
I m getting an error while building flex application
Error Description
"An internal Build Error has occured" Right click for more
information"
In my flex application there are around 5000 line of code .
i am binding 2000 Xml to the application
this much line of code causing a error
Please Help Me out
ThanXCode Snippet could be useful here in us understanding the issue.
-
Error while building Webdynpro application
Hi all,
I am getting error while building web dynpro application.
Error is as :
Error Web Dynpro Generation: Metadata constraint of Component ExtraShifts is violated: ViewElementAggregation "//WebDynpro/View:dk.cph.sec.wd.extrashifts.application.ExtraShiftsView/RootUIElementContainer/Child:OuterGroup/Child:TuesdayGroup/Child:TuesdayTable/OutgoingAggregation:GroupedColumns", Role "Definition": A minimum of 1 object(s) is required ExtraShifts.wdcomponent WD_CPH_SEC_ExtraShift/src/packages/dk/cph/sec/wd/extrashifts/application
Please help me to resolve it.
Thanks,
Devender VHi,
Please have a look at this thread,
Re: Error in CompatibilityMode
Regards,
Saravanan K -
Error while building the installer
Hello,
I got following Error while building installer. Can anybody please tell me what is going wrong. Thanks
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_BuildDevPart.vi >> NI_MDF.lvlib:MDFBuildDevPart_Open.vi
Loading product deployment information
Loading product deployment information
Adding files to installer
*** Error: Windows SDK function returned an error. (Error code -12)
Error accessing build path "D:\Project\QDAS \Builds\QDAS\".
Error creating directory "D:\Project\QDAS \Builds\QDAS\".
The system cannot find the path specified.
*** End Error ReportHi labviewer,
This error can be due to many different reasons, can you give more details as to what you are attempting to do in your application, what software, if any, you are using in addition to LabVIEW, any additional installers etc.
Message Edited by TMC-NI on 04-27-2008 09:06 PM -
Error while building webserivce(using workshop)
Hi,
I get this error while building a web service (developed using Weblogic Workshop-beta
version ) .
A database control is used to fetch data for the webservice.
The error in the Workshop IDE and the server are pasted below.
Please help.
Thanks and Regards,
SSN
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)Hello,
The released version of the Weblogic Workshop is now available (25Jun2002) with the WebLogic Platform:
http://dev2dev.bea.com/products/product.jsp?highlight=wlplatform
Thanks for trying the beta version.
Bruce
SSNarayan wrote:
Hi,
I get this error while building a web service (developed using Weblogic Workshop-beta
version ) .
A database control is used to fetch data for the webservice.
The error in the Workshop IDE and the server are pasted below.
Please help.
Thanks and Regards,
SSN
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) -
Error "Problem building schema" while invoking external webservice
Hi,
I have following problem:
I created 2 BPEL processes.
One of these processes should be called from the other as a partnerlink.
When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
I have tried a lot of things but keep on getting this error.
When I create a new, empty BPEL process, and do exactly the same it does work!
any help would be greatly appreciated.....Hi,
I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
Now it is showing the following error
Exception occured in library handler.Not implemented.
Exception of class CX_SIDL_INTERNAL_ERROR
Please have a look into it
Regards,
Dhana
Maybe you are looking for
-
Magsafe flashing or dim green - not charging etc. ----lower case plastic?
OK, here's a long story as short as I can make it. It will probably be confusing, as I don't have time to figure out the best organization of this info. I'm at work. ---SHORT VERSION--- What is the material attached to the lower case that the interna
-
When I try to use the Submit Form button on the Interactive PDF I created (In Design CS6), I get this message: There is no value in form field "Program." Please put in it before proceeding. How can I fix this and make the Submit Form button work?
-
Reoprt execution time out for particular Plant
Hi GURUS, I am having ECC6.0 with MSSQL2005 combination here. One of my Sales register report executes fine with local plants but for plant which is about 2000 Km from here it gets timed out when executed. So i ran that report in background. It succe
-
How to validate ch field in selection screen
hi experts....... how to validate ch field selection screen......... and which function module is used to validate parameter field i.e character
-
Microsoft Drivers for PHP 5.6+ for SQL Server
Hi there! I'm trying to migrate all of the sites running on Joomla 3, PHP 5.6, from mySQL to MSSQL server 2014. I can only find Microsoft SQL driver 3 which supports until PHP 5.4 but I'm currently running PHP 5.6. Joomla will NOT even recognize SQL