英文:
How i can avoid a repetition in my java resources
问题
我修改了我的 ".classpath" 文件以更改这一行:
<classpathentry kind="src" output="target/classes" path="src">
为:
<classpathentry kind="src" output="target/classes" path="src/main/java">
以便为Maven项目实现良好的架构...
在顶部的Java资源中,现在是正确的,但在底部的Java资源中出现了重复:
<br>
我应该只有:
<br>
- com.douineau
但我还有
- com
- com.com.douineau
<br>
希望有人能帮助我。
提前感谢您。
英文:
I modified my ".classpath" file to change this line
<classpathentry kind="src" output="target/classes" path="src">
for
<classpathentry kind="src" output="target/classes" path="src/main/java">
to have the good architecture for a Maven project...
Now in my sources i have a sort of recursion :
On the top Java Resources it's now good, but not in the bottom Java Resources where I have a repetition :
<br>
I'm supposed to have only :
<br>
- com.douineau
But i have also
- com
- com.com.douineau
<br>
I hope anybody can help me.
Thank u in advance
专注分享java语言的经验与见解,让所有开发者获益!
评论