Error in import com.sap.mbs.ca.ur.enum.MessageType
Hi,
I try to import MAM30 SP5 in NWDS (7.1 SP03). After doing that I get an error that class com.sap.mbs.ca.ur.enum.MessageType; is missing.
In fact this class is part of the mbsui.jar file which is located in the lib folder of my application. MessageType class is in there.
mbsui.jar is added to my build path.
But the strange thing is that if i look at the jar file in NWDS, then i see that package com.sap.mbs.ca.ur.enum is missing, all the other packages for this jar file are there. What can be the reason for this?
I also have noticed that this question was already posted on this forum, but there the problem was that mbsui.jar was not added to the lib folder. This is not the issue in my case.
What could be the reason that one package of mbsui.jar is not seen by NWDS? I also copied the jar file, added this new jar file manually to the lib folder, also add this new jar file to my build path, everything except the com.sap.mbs.ca.ur.enum was succesfully included in the application.
thanks for your help
regards
Peter
I was reading through this post and wanted to add on some more inputs. The above error mentioned is due to the fact that Java 1.5 uses enum as a reserved keyword, where java 1.4 did not. So if we need to migrate to java 1.5 then we would get a compile error if we use the reserved keywords as a variable or a package name. This is the reason why with the latest version sap compatible with java 1.5 & above has moved the package names which were using enum.
Hope this helps.
Similar Messages
-
Hi
Experts,
i have an adapter module for 7.0 and i am trying to replicate the same for PI 7.1 in 7.1 NWDS.
i have made the required changes as mentioned in stefan's blog :/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes
but import com.sap.aii.mappingtool.tf7.rt.Container; shows error , do we need to inlcude any jar file for this :
i am using this module to rename file name (in case of pick and place scenario forwithot IR configuration)
getMessageProperty and setmessageProperty is getting deprecated.(striked off)
strFileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File","FileName");
Regards,
Srinivas> strFileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File","FileName");
in PI 7.1 you can use:
strFileName = msg.getMessageProperty(new MessagePropertyKey("FileName","http://sap.com/xi/XI/System/File"));
Note that property name and namspace come in different order. I almost got mad until I noticed
http://help.sap.com/javadocs/pi/SP3/xpi/index.html -
Error for package com.sap.aii.mapping.lookup
Hi All
I am writing a code for the DB lookup. When I import the package in the Message
Mapping (Advance Function) I am getting an Error.
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist
import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.; ^
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null;
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^
Thanks
Farooq.Hey satish I am getting same Error:
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.;import java.io.*; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^ 3 errors -
Import com.sap.isa.backend.r3 cannot be resolved
Hi,
I am working on E-Commerce package 5.0 B2B application.
I have created a 'customized' OrderStatusR3.java file in SHREXT component. It is almost the replica of the standard OrderStatusR3.java and has the imports of com.sap.isa.backend.r3 package. The problem is, I am getting compilation error with the message as 'import com.sap.isa.backend.r3 cannot be resolved'.
Please help me in identifying the 'Required DC' or the jar file that contains this package. I have checked the 'SAP-SHRJAV-> crm/isa/isacore' component, it does not contain the com.sap.isa.backend.r3 package.
Thanks!
YuvarajHi
You need to go to:
SHRWEB
> crm/home/shr/ext
> DC Metadata
> DC Definition
> Used DC
press right mouse click on Used DC and press "Add Used DC".
Go to SHRJAV tree and crm/isa/isacorer3, open tree to Definition DC and after Public Part.
Press to "default" package and click "Finish".
Rebuild Project and now you can use there classes.
Nicola -
Cant find import com.sap.aii.af.*
Hi,
I need to implement interfaces under import com.sap.aii.af.* like NWConnectionFactory which is in Netweaver library.
But i am not able to find the required jar files.
please help.
thanks
regards ,
farihaHI Fariha
have a look at stefan's reply in the below thread
Re: Required JAR files for XMLPayload and ModuleData
Cheers..
Vasu
<i>** Reward points if found useful **</i> -
Hi ,
I am having a problem in a RFC to File scenario. My Sender RFC is working fine and is showing the status green in the CC Monitoring in AdapterEngine under Component Monitoring. But we are trying to trigger the data to the RFC we are getting the following error "Commit fault: com.sap.aii.af.rfc.afcommunication.R
fcAFWException: alterna "
The RFC connection when tested it is ok .. the connection is established.
Please suggest.
Regards,
HemanthikaHi,
1. Refer to the following notes
SAP Note 730870
SAP Note 775765
Also check
RFC Error in SM58 Commit fault
RFC Error in SM58 Commit fault com.sap.aii.af.rfc.afcommunication
2. have a look to R/3 transaction SM58 to find your message
Thanks
swarup -
Cannot find import com.sap.aii.af.*
Hi,
I am not able to find import com.sap.aii.af.* .(Not documtn)
I want to implement some interfaces present here.
Can any one help me out please?
thanks.
regards
FarihaFariha,
Try to find those jar files in <b>j2eeclusterserver0 inextcom</b> in your XI Installed machine.
In the below doc refer where to find jar files under the heading.
<b>Copy the required JAR files from XI Server</b>[Pg:3]https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
Best regards,
raj. -
Hello,
We need some help because we get 'Portal Runtime error: iView: N/A Component Name:N/A' error when trying to access portal logon screen.
This is what we've done:
We've modified com.sap.portal.runtime.logon.par file and we've uploaded it but it doesn't work. Because of the error, we've overwritten this file with the original one but now it's imposible to access portal.
The situation it seems to be like before the modification of the .par file but we get the same error and can't access portal.
Please, do you know what could be the problem?
Thanks in advanceHi Belen,
Here are the steps you would need to take
1. import the original par file into the NWDS and name the project as
com.sap.portal.runtime.logon
2. Make sure the project name is com.sap.portal.runtime.logon
3. use winzip/winrar to extract the com.sap.portal.runtime.logon.par file in
a local directory
4.Under the lib you would find two jar files copy them and paste them in your project
under dist>PORTAL-INF>lib directory
5.move the files cert....till umResetPass....jsp into the PORTAL-INF directory
6. export the par to the server in question
7. restart your server
This should solve your problem..
Thanks,
Gokul -
Error in Importing standard SAP DCs to Production system
Hi All
I am trying to do a transport from QA to Production system. 3 of the standard components
sap.com_GP-CORE
sap.com_CAF-MF
sap.com_CAF
are not getting imported to Prod. It gives an error
caused by Exception:com.sap.cms.tcs.beans.exception.TCSDeployException_Communication: The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.:The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.
com.sap.cms.tcs.beans.exception.TCSDeployException_Communication: The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.
The user is not locked. I managed to import the rest of the components to Prod with the same user ID.
Only thing i am able to notice is that, the Owner for these 3 components are "jointadm" and the rest of the other components had owner as "Make".
Please give me your suggestion.
regards
DeepuHI,
Under the runtime systems tab in CMS lanscape configurator,
check the username and password details given for thr production runtime system .
also once save the configuration.
Regards,
Satya. -
Hello Experts,
I am doing the java system upgrade from NW04 to NW04s SR2. During the "Deploy Online" phase, the upgrade is failing due to below error
EAR file uploaded to server for 31ms.
07/11/10 05:34:18 - ERROR: Not deployed. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/com.sap.ip.bi.sdk.dac.connector.checko..
Reason: Application alias [TOdbo] for application [sap.com/com.sap.ip.bi.sdk.dac.connector.checko] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/com.sap.ip.bi.sdk.dac.connector.checkodbo].; nested exception is:
com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias [TOdbo] for application [sap.com/com.sap.ip.bi.sdk.dac.connector.checko] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/com.sap.ip.bi.sdk.dac.connector.checkodbo].
Error: Aborted: D:\usr\sap\JUPGRADE\data\archives\BIUDI09_0.SCA
Please suggest asap.
Regards,
ThulasiDear David,
this is not SAP support, this is a user forum. If you want to issue a support ticket you should go to the SAP service marketplace and issue an OSS message. This can be done at http://service.sap.com/message .
You need an S-User to access this site.
Regards,
Benny -
Error on "import com.fastsearch.esp.content.DocumentFactory;"
Hi I'm getting error for following statement
import com.fastsearch.esp.content.DocumentFactory
I think some jar file might be missing but don't know exactly which, can anyone tell which jar I need to include.
Regards,
cool_dude.I would diff the original and the modified version using WinDiff to see if there are any other subtle changes that might have occurred during your edit.
You might also take the edited file, and in notepad change the value back to what you had originally and see if that imports - if it's successful then you know that exact field that you entered is bad, if it's unsuccessful then maybe you have an issue outside of that particular field.
Nick -
Deployment error in referencing "com.sap.km.application"
Hi,
I am working on uploading documents on KM. I have added following sharing references into the project.
---com.sap.portal.htmlb
---com.sap.km.application
But i am getting following error:
->Failed to start application sap.com/testattach: The referenced application com.sap.portal.htmlb cannot be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?
->Failed to start application sap.com/testattach: The referenced application com.sap.km.application cannot be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?
Please guide me how to come out of this.I was reading through this post and wanted to add on some more inputs. The above error mentioned is due to the fact that Java 1.5 uses enum as a reserved keyword, where java 1.4 did not. So if we need to migrate to java 1.5 then we would get a compile error if we use the reserved keywords as a variable or a package name. This is the reason why with the latest version sap compatible with java 1.5 & above has moved the package names which were using enum.
Hope this helps. -
Hi all,
I am working on B2B webshop product catalog pricing and I have to make some changes in Java classes which are supposed to be in com\sap\isa\backend\crm\webcatalog\pricing..........But i am trying to import them in NWDI perspective and I dont find this
com.sap.isa.backend.crm.webcatalog.pricing track at all...
Does any one know how can I import this track and where it is.... all associated Java Classes in this track to my NWDS?
Regards,
SamHi Shantoo,
Thanks for helping me with this. So you mean to say, I have to import crmhomeshrextsap.com ??
If that is the case, I already imported but i am unable to find this track com.sap.isa.backend.crm.webcatalog.pricing .
If you could access this track could you please let me know the name of one Java Class atleast that is present in this track?
Also I can only find the custom Z classes that I have written in crmhomeshrextsap.com , but some how not the standard SAP classes.
If i say ctrlshiftT, i can search for standard classes and open them, but if i click in "Link with Editor", I cant find the source of the class....but "Link with Editor" still works for my custom classes.
Any help with this will be higly appreciated. Will be waiting for your response. Thanks.
Jessica. -
Compile Error for Import com.sun.javadoc.*;
I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is:
import com.sun.javadoc.*;However, I get a compile error:
C:\JavaDoc\Doclet\ListClass.java:1: package com.sun.javadoc does not exist
import com.sun.javadoc.*;I found the com.sun.javadoc package in the tools.jar file in the lib directory of my sdk. So I added the following to my classpath:
C:\j2sdk1.4.2_08\lib;Then I recompiled but received the same error. What have I done wrong? I'm on Windows XP.
TIA.> C:\j2sdk1.4.2_08\lib;
C:\j2sdk1.4.2_08\lib\tools.jar; -
When I use MDM java api thruogh WebDynpro portal try to save a record to MDM, I got this error:
com.sap.internal.protocol.manual.ServerException: The selected node has children.
Any help will be appriciated.Jitesh:
thanks for your answer. It is great help.
Let me put this way, if that is the problems cause, this only happens for one category when I try to save. I can save records to other category through portal application. So it is not portal problem.
Then we come to MDM, how do I find out what is wrong with this category? Why other categories work and this one does not work?
How do I find out why I have reference to parent node instead of leaf node for this category?
What I can do in MDM side to find problem?
thanks,
Eric
Maybe you are looking for
-
Why can't I print out google maps on my hp photosmart premium c410?
I'm set up wireless and it works good except when I try to print out a map from google maps and sometimes from yahoo maps. Can someone help with this? I also have a hp 1350 all in one I have to usb plug in when printing from google maps. I'm running
-
Simple Java Question - How to Overwrite Set
After working so much in Java, wondering how do i overwrite java.util.Set My pojo is Set of associated object. For example class Parent private Set child = new HashSet(0); public Set getChild() { return this.child; I wanna overwrite set of child obje
-
I am editing a SD Anamorphic project. The footage was captured on my MacBook Pro 2.33Ghz with FCP6 I copied it to a WD My Book Studio and imported the files into FCP6 on my iMac. I used the proper settings to capture the footage from my XL2. But now,
-
I am trying to write a quick shell script that will monitor the number of connections in a connection pool along with the amount of available memory to a WL server. The weblogic.Admin commands are very limited and I was hoping someone could tell me t
-
Tips for using Galil Tools with Labview
This post is not a question, but below is a link to Galil's site that provides various methods and tips for using Galil's software for communicating with their controllers using LabVIEW. Hopefully it will assist others in the future. http://www.galil