|Maven, Eclipse access to classes from dependency [message #1815849]
||Sat, 12 October 2019 19:02
| Brian Jones
Registered: October 2019
It's my first go-around with Eclipse, Maven, and Java.
I've built a Maven Project with a dependency, which results in "BUILD SUCCESS" (right-click Project --> Run As --> Maven install). The POM shows the dependency, the dependency appears in the Package Explorer, and Maven Dependencies appear as a Library.
However, I can't seem to figure out how to use the classes from the dependency in my Java code.
I've tried "import com.aparapi.*" and various other import statements in my code, but Eclispse states that the import "cannot be resolved".
I've also tried Clean, Refresh, "Maven --> Update Project", and deleting the Project then re-importing as an existing Maven project.
I imagine this is a simple case of the import statement being incorrect, but I just can't figure out the correct one.
Thanks in advance for any help!
Powered by FUDForum
. Page generated in 0.03330 seconds