开发者

Missing directory in a Maven Directory Structure with Eclipse

开发者 https://www.devze.com 2023-01-04 14:34 出处:网络
I recently set up a j2ee development environment under Ubuntu: Eclipse (Helios) with the maven plugin (m2eclipse).

I recently set up a j2ee development environment under Ubuntu: Eclipse (Helios) with the maven plugin (m2eclipse).

When I try to create a maven project, it tells me to select an "Archetype". Then, I select an Archetype with a GroupId : "org.apache.maven.archetypes" and the ArctifactId : "maven-archetype-quickstart" (I tried also with the followinf art开发者_运维问答ifactIds "maven-archetype-mojo" "maven-archetype-j2ee-simple", ....).

Then, it creates a standard maven directory structure.

I added the "javax.perssitence" Maven Dependency that load the "persistence-api-1.0.jar".

But I can't find the "src/main/ressources" and "src/test/ressources" to access to the "persistence.xml" file.

Is it a bug? Should I create it manually?

Thank you for your answers ;)


No, it's not a bug, just create them manually and update the project configuration under Eclipse (via right-click on the project and Maven > Update Project Configuration)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号