この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I am using archetype 10 project. I created a new class file under sample.core project. I am trying to access GeoHelper class by importing below:
import info.geometrixx.commons.util.GeoHelper;
I am getting a notification like below:
The import info.geometrixx cannot be resolved
How to resolve this issue? How can I import the jar file?
解決済! 解決策の投稿を見る。
Just Verifying,
Once you have added this class in eclipse, did you took the build to AEM?
Build is process where these java files gets deployed to AEM using maven as a single jar,
If not take a look at http://www.aemcq5tutorials.com/tutorials/create-osgi-bundle-in-aem/
表示
返信
いいね!の合計
Are you seeing this error when you use this in JSP in component?
Make sure you are exporting the package in which you have added this class.
表示
返信
いいね!の合計
edubey wrote...
Are you seeing this error when you use this in JSP in component?
Make sure you are exporting the package in which you have added this class.
How can I export the JAR file and which JAR file should I export? I believe that this project is configured with all the JARs required for the development. Do I need to create a lib folder, add the JAR file and edit pom.xml file?
Just Verifying,
Once you have added this class in eclipse, did you took the build to AEM?
Build is process where these java files gets deployed to AEM using maven as a single jar,
If not take a look at http://www.aemcq5tutorials.com/tutorials/create-osgi-bundle-in-aem/
表示
返信
いいね!の合計
Hi
Please have a look at this stackoverflow question.
Link:- http://stackoverflow.com/questions/16918959/import-cannot-be-resolved
//Import *** could not be resolved '
Solution:-
Right click on project - >BuildPath - >Configure BuildPath - >Libraries tab - >
Double click on JRE SYSTEM LIBRARY - >Then select alternate JRE
If the project is Maven, you can try this way :
Then the import issue should be solved .
Some Reference Forum post:-
I hope this would help you.
Thanks and Regards
Kautuk Sahni
表示
返信
いいね!の合計