如何解决 Netbeans 中缺少的 Java EE 服务器库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44601373/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to resolve missing Java EE Server Libraries in Netbeans
提问by rajat saha
Can you suggest how to add server in the libraries section of netbeans for Java.
您能否建议如何在 Java 的 netbeans 的库部分中添加服务器。
回答by Ravi
To resolve this issue, you need to add Server to Netbeans -> Service
list.
要解决此问题,您需要将服务器添加到Netbeans -> Service
列表中。
You could also follow below steps :
您也可以按照以下步骤操作:
1. Identify the project, which has missing server libraries
1. 确定缺少服务器库的项目
2. Right click on project and click Resolve Missing Server Problem..
2. 右键单击项目并单击 Resolve Missing Server Problem..
3. Then, Select the appropriate Server as per your project requirement, if not available in the list, then add the server.
3. 然后,根据您的项目要求选择适当的服务器,如果列表中没有,则添加服务器。
Now, you can verify your project.
现在,您可以验证您的项目。