Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse upgrade problem(2020-06 project won't build with 2022-03)
Eclipse upgrade problem [message #1851889] Thu, 21 April 2022 05:12 Go to next message
Eclipse UserFriend
The build has three projects. The second of which needs the classes from the first. However it cannot see them. Is there now some additional or different configuring needed ?

As shown in the screengrab, the whole net.magrathea.rest.model package in rest-api, is no longer being seen by classes in rest-core.

Thank you.


Re: Eclipse upgrade problem [message #1851919 is a reply to message #1851889] Thu, 21 April 2022 12:28 Go to previous messageGo to next message
Eclipse UserFriend
The "src" folder in the first project doesn't have the little java package icon so I don't think it's really configured properly as source Java folder. What does the context menu Properties of the project show you about the Java Build Path, and in particular does the Source tab specify the right root folders?
Re: Eclipse upgrade problem [message #1851942 is a reply to message #1851919] Fri, 22 April 2022 06:26 Go to previous messageGo to next message
Eclipse UserFriend
However in the 2020-06 Eclipse where everything works fine, that src looks the same as in the (2022-03) screenshot.
However, there *is* the following discrepancy between old and new I'm now looking into - see next screenshot - so many thanks.
Somewhat contradicting that though, the artifact rest-api-1.0.0.jar *is* still correctly created in the .m2 repo in the new system, as it is in the old one.

[Updated on: Fri, 22 April 2022 06:36] by Moderator

Re: Eclipse upgrade problem [message #1851945 is a reply to message #1851942] Fri, 22 April 2022 07:52 Go to previous messageGo to next message
Eclipse UserFriend
Given seems to be a bunch of m2e stuff involved, it might be better to ask here:

https://github.com/eclipse-m2e/m2e-core/discussions
Re: Eclipse upgrade problem [message #1852112 is a reply to message #1851945] Fri, 29 April 2022 09:40 Go to previous message
Eclipse UserFriend
Please, please stop putting images into PDFs. They attach just as well on their own.
Previous Topic:Maven POM file can't do comment
Next Topic:Eclipse Java
Goto Forum:
  


Current Time: Sun Sep 21 15:50:32 EDT 2025

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

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

Back to the top