public static void printBlockChain(){
AsciiTable at = new AsciiTable();
at.addRule();
at.addRow("Index","Hashcode","User","Transaction","Time");
for (Block block : blockChain.getBlocks()) {
at.addRule();
at.addRow(block.getIndex(),block.getHash(),block.getTransactions()[0],block.getTransactions()[1],block.getTransactions()[2]);
}
at.addRule();
String rend= at.render();
System.out.println(rend);
}```
I use this AsciiTable dependency, the import no longer function i get this error:
```java: package de.vandermeer.asciitable does not exist```
and
```java: cannot find symbol
symbol: class AsciiTable
location: class org.CS446.Controller```
#dependency suddenly stopped working
21 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @stable iron! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
<!-- https://mvnrepository.com/artifact/de.vandermeer/asciitable -->
<dependency>
<groupId>de.vandermeer</groupId>
<artifactId>asciitable</artifactId>
<version>0.3.2</version>
</dependency>
re-sync your dependencies
what were the latest changes you made
are you in offline mode?
no what is that