简体   繁体   中英

Project not in eclipse build path

I have multiple versions of a maven project checked in to perforce. I want to make a change in an older version. But when I try and import the older version from perforce or from the disk, it does not compile in eclipse.

Right clicking on the orject does not give me 'build path' options. How do I make sure the project is in its classpath?

I checked to see the contents of the folder and it has the .project and .settings files

I've had that happen to me before. For no reason, the Build Path option disappears from the first right click menu.

Not to worry, just right click and select Properties, then choose Java Build Path from the list on the left.

我通过从命令行运行mvn eclipse:eclipse来修复它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM