zengqinchris opened a new issue, #4741:
URL: https://github.com/apache/incubator-seatunnel/issues/4741

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   This error is reported when the latest dev code is packaged and executed to 
start the cluster
   
![image](https://github.com/apache/incubator-seatunnel/assets/44901627/707405fa-3e3a-48ee-ac68-53dfa30e9a82)
   
   After modifying the seatunnel-cluster.sh script, it can be executed
   
   
![image](https://github.com/apache/incubator-seatunnel/assets/44901627/45ea73f4-8cad-4a71-88bf-e33ab188701a)
   
   If the startup script is not annotated, execute it,
   ```
   # while read line
   # do
   #    if [[ ! $line == \#* ]] && [ -n "$line" ]; then
   #        JAVA_OPTS="$JAVA_OPTS $line"
   #    fi
   # done < ${APP_DIR}/config/jvm_options
   ```
   启动脚本注释上面的shell命令就可以启动集群,但是加上就不能执行启动集群
   Error reported
   Error: Could not find or load main class
   
   
   
   ### SeaTunnel Version
   
   dev
   
   ### SeaTunnel Config
   
   ```conf
   no
   ```
   
   
   ### Running Command
   
   ```shell
   sh seatunnel-cluster.sh
   ```
   
   
   ### Error Exception
   
   ```log
   Error: Could not find or load main class
   ```
   
   
   ### Flink or Spark Version
   
   no use
   
   ### Java or Scala Version
   
   jdk8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to