运行start.bat后的错误代码
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>锘緻echo off
'锘緻echo' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem -------------
------------------------------------------------------------
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 浣跨敤璇存槑
锛?
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 1: 璇ヨ剼鏈
敤浜庡埆鐨勯」鐩椂鍙渶瑕佷慨鏀?MAIN_CLASS 鍗冲彲杩愯
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 2: JAVA_OPTS
鍙€氳繃 -D 浼犲叆 undertow.port 涓?undertow.host 杩欑被鍙傛暟瑕嗙洊
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 閰嶇疆鏂囦
欢涓殑鐩稿悓鍊兼澶栬繕鏈?undertow.resourcePath, undertow.ioThreads
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem undertow.w
orkerThreads 鍏变簲涓弬鏁板彲閫氳繃 -D 杩涜浼犲叆
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 3: JAVA_OPTS
鍙紶鍏ユ爣鍑嗙殑 java 鍛戒护琛屽弬鏁?渚嬪 -Xms256m -Xmx1024m 杩欑被甯哥敤鍙
傛暟
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem -------------
------------------------------------------------------------
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>setlocal & push
d
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem 鍚姩鍏ュ彛
绫?璇ヨ剼鏈枃浠剁敤浜庡埆鐨勯」鐩椂瑕佹敼杩欓噷
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>set MAIN_CLASS=co
nfig1.DemoConfig
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem Java 鍛戒护琛
屽弬鏁?鏍规嵁闇€瑕佸紑鍚笅闈㈢殑閰嶇疆,鏀规垚鑷繁闇€瑕佺殑,娉ㄦ剰绛夊彿鍓嶅
悗涓嶈兘鏈夌┖鏍?
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem set "JAVA_OPT
S=-Xms256m -Xmx1024m -Dundertow.port=80 -Dundertow.host=0.0.0.0"
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>rem set "JAVA_OPT
S=-Dundertow.port=80 -Dundertow.host=0.0.0.0"
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>set APP_BASE_PATH
=E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01\
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>set CP=E:\eclipse
-workspace\jfinal01\target\jfinal01-release\jfinal01\config;E:\eclipse-workspace
\jfinal01\target\jfinal01-release\jfinal01\lib\*
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>java -Xverify:non
e -cp E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01\config;E:\
eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01\lib\* config1.DemoCo
nfig
错误: 找不到或无法加载主类 config1.DemoConfig
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>endlocal & popd
E:\eclipse-workspace\jfinal01\target\jfinal01-release\jfinal01>pause
请按任意键继续. . .
注意看文档脚本无法使用问题:
https://jfinal.com/doc/1-5