Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » cannot be resolved to a type(Problem with calling my types from the main project)
cannot be resolved to a type [message #1792345] Mon, 16 July 2018 11:05 Go to next message
Lisa Marie is currently offline Lisa MarieFriend
Messages: 1
Registered: July 2018
Junior Member
Hey guys!

I hope I posted this topic under the right headline and if not I apologize. I am new when it comes to Eclipse and I have to do a lab in Java before I start studying this fall. But for some reason I constantly get the message "cannot be resolved to a type" when I try to create my type in the main project. I have googled constantly and tried every possible solution out there but nothing works. I have the Eclipse IDE for EE Developers because we are supposed to use that one and the JAVA-10 because I have Windows 10.

I really hope you can help me!

Re: cannot be resolved to a type [message #1792508 is a reply to message #1792345] Wed, 18 July 2018 18:48 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6111
Registered: July 2009
Senior Member

If you hover over the "dog" in "new dog" you will probably get a quickfix that offers to change "dog" to "Dog". Else Ctrl+1.


Ed Willink
Previous Topic:Can Java compile and run within Eclipse?
Next Topic:not showing maven dependency in eclipse
Goto Forum:

Current Time: Thu Nov 15 02:02:57 GMT 2018

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

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

Back to the top