Solution to Cannot nest src folder in Eclipse

Error example:

: Java Model Status [Cannot nest output folder 'xxx/bin/main' inside output folder 'xxx/bin']

Solution:

Right click on the project -> properties -> java build path -> source

Generally, it is the problem of the red box in the above picture. This has been changed. When the error is reported, it is a folder directory /bin/main that has not been newly created. The solution is shown in the following figure:

 

The first is to uncheck the allow output folders xxx

The second is not to check, change the default output folder directory to the bin directory

 

Another reference method:

https://blog.csdn.net/sinat_30397435/article/details/78522566

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324840139&siteId=291194637