Closed Iter-Ator closed 6 years ago
Seems, that your MAVEN project dependencies are not set up correctly, so not an error in the parser or parser library.
pom.xml
in your project folder:<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>vb6-example</name>
<description>VB6 example</description>
<groupId>io.proleap</groupId>
<artifactId>vb6-example</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>maven.proleap.io</id>
<url>http://maven.proleap.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.github.uwol</groupId>
<artifactId>vb6parser</artifactId>
<version>2.1.0</version>
</dependency>
</dependencies>
</project>
App
class somewhere in src/main/java
I tried to follow the "Getting started" steps. I added the repository and dependency. My code looks like this:
The building is successful. But if I try to run it, I get this error:
What do I wrong? Did I miss something?
My test.cls is the same as the "Input: VB6 code" from the example