- This topic has 14 replies, 7 voices, and was last updated 14 years, 3 months ago by
support-swapna.
-
AuthorPosts
-
pallavi1974MemberHi,
I got problems like
the import org.apache.log4j can not be resolved;
Logger can not be resolved.
can somebody know why these errors are coming??
ThanksDecember 31, 2004 at 5:12 pm #222047
Scott AndersonParticipantCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
January 3, 2005 at 2:21 pm #222112
pallavi1974MemberHi Scott,
What operating system and version are you running?
Windows XP SP1
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
eclipse 3.0.1
build 200409161125
– Was Eclipse freshly installed for MyEclipse?
yes
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?
no
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.3
What JDK version are you using to run Eclipse? (java -version)
jdk1.4.2_03
What JDK version are you using to launch your application server?
jdk1.4.2_03
What steps did you take that resulted in the issue?
I have code that is using log4j.i imported that file in to eclipse.I got this “the import
org.apache.log4j can not be resolved,Logger can not be resolved.”
What application server are you using?
weblogic 8.1 SP2
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
no exceptions in .log file
Thanks
PALLAVIJanuary 3, 2005 at 3:06 pm #222115
Scott AndersonParticipantPallavi,
I have code that is using log4j.i imported that file in to eclipse.I got this “the import
org.apache.log4j can not be resolved,Logger can not be resolved.”Did you import the log4j jar file into your project? Did you add it to the classpath? What type of project are you using?
January 3, 2005 at 3:10 pm #222116
pallavi1974MemberI am using java project. log4j.jar file is in the lib directory of my project.
Can u please tell me how to add it to classpath??
ThanksJanuary 3, 2005 at 3:14 pm #222119
Scott AndersonParticipantRight click on the project in the Package Explorer View and select Properties > Java Build Path > Libraries > Add Jar… and select the jar file in your project.
January 3, 2005 at 3:37 pm #222122
pallavi1974MemberThank you very much.I got it.
January 3, 2005 at 3:47 pm #222123
Scott AndersonParticipantNo problem. But I would suggest you read the Java Developers Guide in the Eclipse Help System at Help > Help Contents, just to get the basics down. Eclipse has a big learning curve and the docs do help to get you over the hump pretty well. 🙂
August 21, 2006 at 11:30 am #257256
maximuszenMemberI’ve been using eclipse for a while and I’m getting this error. When I click Add jar there is no items in the list. Do you mean add external jar? When I do there is a duplicate copy of the log4j in my deployment this creates errors on its own.
March 26, 2010 at 7:56 am #307032
kalyan.jittaMemberhi,
iam adding my properjavardp appl in eclipse and i compiled,but i got a this msg the import org.apache.log4j can not be resolved, so plse give solution very soon
March 26, 2010 at 7:57 am #307033
kalyan.jittaMemberplse send me solution very soon,because i work on that project[quote]
March 28, 2010 at 11:26 pm #307093
support-shaliniMemberKalyan,
Your issue is not clear, can you give some more information?
1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
2. Have you added the jar file to your projects build path(Right click on your project, select Build Path > Add External Archives from the context menu)?March 29, 2010 at 4:12 am #307102
kalyan.jittaMemberhi,
give me the procedure of executing exist porperjava rdp in eclipse by using appletsMarch 15, 2011 at 10:31 am #315249
chevizflexMemberHello,
What operating system and version are you running?
Windows XP SP2
What Eclipse version and build id are you using? (Help > About Eclipse Platform)
myeclipse 7.5
build 20090609
– Was Eclipse freshly installed for MyEclipse?
no
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed?
flex builder 3 plug-in
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
4
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
7.5
What JDK version are you using to run Eclipse? (java -version)
jdk1.5
What JDK version are you using to launch your application server?
jdk1.5
What steps did you take that resulted in the issue?
I have code that is using log4j.i imported that file in to eclipse.I got this “the import
org.apache.log4j can not be resolved,Logger can not be resolved.”
What application server are you using?
JBoss v4.2
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
no exceptions in .log filei want to know, how to install .jar files & log4j in myeclispse and how to set the build path when we use Adobe Flex Plug-in.
Thanks
CheviMarch 15, 2011 at 11:03 pm #315269
support-swapnaModeratorchevizflex,
1) If working in a Web project you can add the jars to the lib directory and they should
automatically be found. You can also add the jars to your project’s path
by changing the project build properties. Right click on your project and
select properties.2) Here is a thread which discusses about log4j. Have a look at it :
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-26938-highlight-log4j.html3) How are you trying to install Flex plugin? Is it through the update site ? Once the plugin is installed into MyEclipse you should be able to use it without making any changes to the build path. Also make sure that the version of Flex 3 plugin is compatible with the base version of Eclipse 3.4.
-
AuthorPosts