Skip to main content



      Home
Home » Newcomers » Newcomers » Import cannot be resolved?
Import cannot be resolved? [message #123536] Mon, 12 December 2005 04:32 Go to next message
Eclipse UserFriend
Originally posted by: huangj.citiz.net

I create the package "common" in A project an import common in B project.
Print import common cannot be resolved after compiles B project. What's
wrong?
Re: Import cannot be resolved? [message #123551 is a reply to message #123536] Mon, 12 December 2005 04:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

Linux & C++ uitte de volgende tekst op 12/12/2005 10:32:
> I create the package "common" in A project an import common in B
> project. Print import common cannot be resolved after compiles B
> project. What's wrong?

Can you be more specific and provide some code? See
http://catb.org/~esr/faqs/smart-questions.html

H.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
Re: Import cannot be resolved? [message #123750 is a reply to message #123551] Mon, 12 December 2005 19:35 Go to previous message
Eclipse UserFriend
Originally posted by: huangj.citiz.net

I installed eclipseme 1.2.1. Created a j2me project A and created the
package p.
This is the class C in package p of project A.

package p;

public class C {
public C(){
System.out.print(1);
}

}

Created a j2se project B.
import p;
public class B {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
C c=new C();
System.out.print(1);
}

}

The problem is "The import p cannot be resolved".
Previous Topic:eclipse with database plug-inns
Next Topic:eclipse 3.1.1 on SUSE Linux 10.0 AMD64
Goto Forum:
  


Current Time: Mon May 12 14:49:20 EDT 2025

Powered by FUDForum. Page generated in 0.11255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top