是否有针对Java EE 6 Web Profile应用程序的Eclipse新项目向导?

时间:2023-01-24 16:57:37

I am using Eclipse 3.7 Java EE (more correct STS 2.8) with Oracle GlassFish Server Tools, and I am looking for an Project wizard to create an new Java EE 6 Web Profile project. I only find wizards for EARs on the one side and wizards for Servlet projects on other, but not for the Java EE 6 Web Profile.

我正在使用带有Oracle GlassFish Server Tools的Eclipse 3.7 Java EE(更正确的STS 2.8),我正在寻找一个Project向导来创建一个新的Java EE 6 Web Profile项目。我只在一侧找到了EAR的向导,而在另一侧找到了Servlet项目的向导,但是没有找到Java EE 6 Web Profile的向导。

Of course I can use Maven template, but I would expect that there is an Eclipse wizard without Maven.

当然我可以使用Maven模板,但我希望有一个没有Maven的Eclipse向导。

May I am only to blind to find it. - so forgive me if it is a silly question, but I have really tried to figure it out by myself

我可能只是盲目地找到它。 - 如果这是一个愚蠢的问题,请原谅我,但我真的试图自己解决这个问题

1 个解决方案

#1


0  

Because I am only interessted in testing some JSF 2.0 Stuff this works for me:

因为我只是测试一些JSF 2.0 Stuff,这对我有用:

  • New Project with Dynamic Web Project wizard
  • 带有Dynamic Web Project向导的新项目

  • Change Configuration to: Java Server Faces 2.0 Project
  • 将配置更改为:Java Server Faces 2.0项目

  • change JSF Implementation Library on wizard Page "JSF Capabilities" to Disable Library Configuration
  • 在向导页面“JSF Capabilities”上更改JSF实现库以禁用库配置

#1


0  

Because I am only interessted in testing some JSF 2.0 Stuff this works for me:

因为我只是测试一些JSF 2.0 Stuff,这对我有用:

  • New Project with Dynamic Web Project wizard
  • 带有Dynamic Web Project向导的新项目

  • Change Configuration to: Java Server Faces 2.0 Project
  • 将配置更改为:Java Server Faces 2.0项目

  • change JSF Implementation Library on wizard Page "JSF Capabilities" to Disable Library Configuration
  • 在向导页面“JSF Capabilities”上更改JSF实现库以禁用库配置