没有为项目或全局定义合适的部署服务器

3bygqnnd  于 2021-07-06  发布在  Java
关注(0)|答案(0)|浏览(235)

我试图通过以下问题来解决这个问题:netbeans11.2:没有为项目或全局定义合适的部署服务器,但是我的 nb-configuration.xml 文件如下所示:

<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
    <!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
    <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
        <!--
Properties that influence various parts of the IDE, especially code formatting and the like. 
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.8-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>gfv5ee8</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
        <netbeans.hint.jdkPlatform>JDK 1.8</netbeans.hint.jdkPlatform>
        <org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
    </properties>
</project-shared-configuration>

所以我有 netbeans_2e_hint_2e_j2eeVersion 设置为1.8-web和 netbeans_2e_hint_2e_deploy_2e_server 设置为gfv5ee8,如答案所示。但仍然错误的是没有合适的服务器部署。如何解决?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题