浏览代码

Merge remote-tracking branch 'origin/dev' into dev

刘阳 7 月之前
父节点
当前提交
9b44d6e287
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pom.xml

+ 3 - 0
pom.xml

@@ -441,6 +441,9 @@
                 <configuration>
                     <fork>true</fork>
                     <includeSystemScope>true</includeSystemScope>
+                    <!-- 关键新增:指定唯一主类(二选一,根据你的实际入口选择) -->
+                    <mainClass>com.sqx.SqxApplication</mainClass>
+                    <!-- 若要使用 WebSocketApp 作为入口,替换为:<mainClass>com.sqx.WebSocketApp</mainClass> -->
                 </configuration>
             </plugin>
             <!-- 跳过单元测试 -->