on 11-30-2005 9:45 PM - last edited on 02-04-2024 1:02 AM by postmig_api_4
Hi, over the last 2 years I have been developing and maintaining portal applications using version 5.0.5.0. Now I'm trying to move our systems toward WebDynpro. I keep stumbling into road blocks when I need certain classes that apparently the developers studio can't resolve. I tried going to source>organize-imports, but in some cases the imports are not added. I'm not sure what I do from here. Can anyone help?
For example:
in Version 5.0.5.0, when I needed a class like "com.sapportals.portal.prt.session.IUserContext", I just inserted an import statement at the top of my program. I try that in EP6.0 and I still receive errors saying the class is unresolved.
Hi Steve
Use this to find the required jar file.
http://www.alphaworks.ibm.com/tech/jarclassfinder
Regards
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
From the WebDynPro perspective in Developer Studio, right-click the project and choose Properties. Go to the Java Build Path item and choose the Libraries tab. From there, you can add external JAR files for the classes you need.
Cheers,
Jonathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I tried to import this particular jar with the class, "com.sapportals.portal.prt.session.IUserContext" into my project via properties>add external jars. I searched all the jars for that class and could not find any that contained it. Now, again I ask, where do I find the jar file that contains that class? I'm at a lost here, and feeling fairly frustrated.
You must add the external jars to the project. Then your application will be able to see them. I assume that you know how to add external jars.
Regards,
Rich Heilman
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 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.