Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occured when compiling Simulator.java #1

Open
Baihe0303 opened this issue Sep 11, 2019 · 0 comments
Open

An error occured when compiling Simulator.java #1

Baihe0303 opened this issue Sep 11, 2019 · 0 comments

Comments

@Baihe0303
Copy link

Baihe0303 commented Sep 11, 2019

C:\Users\Joe Jiang\Desktop\dean-master>javac Simulator.java

Simulator.java:730: 错误: 有 'catch', 但是没有 'try'
}catch(IOException ex){
^
Simulator.java:13: 错误: 'try' 不带有 'catch', 'finally' 或资源声明
try{
^
Simulator.java:737: 错误: 非法的表达式开始
public static void printTree(PrintWriter writer,String root, HashMap<String, Block> blockChain){

How to repair it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant