Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » The compilation unit is not on the build path of a project(Eclipse throwing an error while trying to build the code )
The compilation unit is not on the build path of a project [message #1855074] Tue, 27 September 2022 15:29
Sunil Reddy is currently offline Sunil ReddyFriend
Messages: 1
Registered: September 2022
Junior Member
Hello,
I have imported a build with Mven existing maven project, i am trying to write a code and hit dot its thowing the error "The compilation unit is not on the build path of a project" i am using this for AEM project, i rebuild my project but that didn;t help and added "<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>"

But no luck and i added java in Project facets and checked JDK under properties >> Java Build path
  • Attachment: pic3.jpg
    (Size: 34.74KB, Downloaded 63 times)
Previous Topic:maven multi-module project load & search Suggest
Next Topic:eclipse 2022-12 Maven endless loop
Goto Forum:
  


Current Time: Fri Apr 26 17:02:18 GMT 2024

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

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

Back to the top