当我运行jupyter笔记本时,它只会显示空白
我检查了控制台是否有错误,并向我显示了以下内容: Console error message
这是上面的错误消息所指的行: Error message line
如果需要,这里是URL栏(这是我启动Jupyter Notebook时URL栏显示的内容): URL
答案 0 :(得分:0)
已使用
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------
------------
[INFO] Building TicTacToe-Game 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------
------------
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @
TicTacToe-Game >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @
TicTacToe-Game <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ TicTacToe-
Game ---
[WARNING]
java.lang.ClassNotFoundException: com.mertilovski.app.Game
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
at java.lang.Thread.run(Thread.java:748)
[INFO] ------------------------------------------------------------
------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------
------------
[INFO] Total time: 0.639 s
[INFO] Finished at: 2019-03-26T01:30:18+03:00
[INFO] Final Memory: 8M/106M
[INFO] ------------------------------------------------------------
------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-
plugin:1.2.1:java (default-cli) on project TicTacToe-Game: An
exception occured while executing the Java class.
com.mertilovski.app.Game -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven
with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[ERROR]
[ERROR] For more information about the errors and possible
solutions, please read the following articles:
[ERROR] [Help 1]
将.ipynb转换为.txt,然后将代码复制到.py文件