Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Unable to locate class file

Joined
Dec 27, 2019
Messages
2
It seems that the bot can find my manifest, and is trying to load the main-class as such. However, the bot is telling me it is unable to locate a file which is there.

Unable to locate "\\VBOXSVR\shared\production\com\blah\examplechopper\ExamplePowerChopper.class".

There is infact a class at that location, and its package is com.blah.examplechopper.

Here is the manifest:

Code:
<manifest>
    <main-class>com.blah.examplechopper.ExamplePowerChopper</main-class>
    <name>PowerChopper</name>
    <tag-line>Insert catchy tagline here (marketing oriented)</tag-line><!--Max of 50 chars-->
    <description>Power chops all types of logs anywhere in RuneScape. (functionality oriented)</description><!--Max of 110 chars-->
    <version>1.0.2</version>
    <compatibility>
        <game>OSRS</game>
    </compatibility>
    <categories>
        <category>WOODCUTTING</category>
    </categories>
    <!--Required to publish on the bot store-->
    <internal-id>PowerChopper</internal-id>
    <!--The rest are optional-->
    <open-source>false</open-source>
    <hidden>false</hidden> <!--If you need to hide it from the bot store for maintenance-->
    <access>private</access>
    <tags>
        <tag>Tree</tag>
    </tags>
    <resources>
    </resources>
</manifest>

And the file is located at: \\VBOXSVR\shared\production\com\blah\examplechopper
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
Looks like you're working on a network share. There's not enough info to say conclusively, but I would highly suggest moving it to a local drive to see if that fixes it.
 
Joined
Dec 27, 2019
Messages
2
Yes I've tried locally and have the same issue.

Directory structure looks like this:

Manifest file:

C:\Users\user\RuneMate\bots\examplechopper.manifest.xml

Class files:
C:\Users\user\RuneMate\bots\com\blah\examplechopper\ExamplePowerChopper.class
C:\Users\user\RuneMate\bots\com\blah\examplechopper\ExamplePowerChopper$Chop.class
C:\Users\user\RuneMate\bots\com\blah\examplechopper\ExamplePowerChopper$Drop.class

And the manifest is exactly the same as in the original post.

I receive this error:

Unable to locate "C:\Users\user\RuneMate\bots\com\blah\examplechopper\ExamplePowerChopper.class".
 
Top