Process exited with an error: 1 (exit value: 1) when this bug occurs
I was trying to write and run the main method in test.java. There was a bug.
the main solution is:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>java</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<configuration>
<classpathScope>test</classpathScope>
<!-- <mainClass>com.itheima.test.MybatisTest</mainClass>-->
</configuration>
</plugin>
</plugins>
</build>
Revision 381422;https://blog.csdn.net/weixin_45773603/article/details/105883894
Read More:
- IIS + Django project reported an error. The fastcgi process exited unexpectedly
- Apache2 cannot be started and an error is reported for apache2.service failed because the control process exited with error code.
- svn process exited with error code: 1
- Job for network.service Failed because the control process exited with error code. See “SystemC
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- PaddlePaddle:Process finished with exit code -1073741819 (0xC0000005)
- code is 143 Container exited with a non-zero exit code 143
- Mongodb failed to start: child process failed, exited with error number 100
- Mongodb start error: child process failed, exited with error number 1
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- Error: child process failed, exited with error number 1
- systemctl start docker Job for docker.service failed because the control process exited with error
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Process finished with exit code 0 error reporting solution
- Python program exit: OS_ Exit() and sys.exit ()
- An error is reported when installing the package directly in pycharm, but it can be installed through the terminal. Error non zero exit code (2)
- E: Sub process / usr / bin / dpkg returned an error code (1) solution
- Starting zookeeper to report an error already running as process
- RuntimeError:An attempt has been made to start a new process before the……