1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Unable to locate class file

Discussion in 'Developer Support' started by kndi, Dec 28, 2019.

  1. kndi

    Joined:
    Dec 27, 2019
    Messages:
    2
    Likes Received:
    0
    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 (Text):
    1. <manifest>
    2.     <main-class>com.blah.examplechopper.ExamplePowerChopper</main-class>
    3.     <name>PowerChopper</name>
    4.     <tag-line>Insert catchy tagline here (marketing oriented)</tag-line><!--Max of 50 chars-->
    5.     <description>Power chops all types of logs anywhere in RuneScape. (functionality oriented)</description><!--Max of 110 chars-->
    6.     <version>1.0.2</version>
    7.     <compatibility>
    8.         <game>OSRS</game>
    9.     </compatibility>
    10.     <categories>
    11.         <category>WOODCUTTING</category>
    12.     </categories>
    13.     <!--Required to publish on the bot store-->
    14.     <internal-id>PowerChopper</internal-id>
    15.     <!--The rest are optional-->
    16.     <open-source>false</open-source>
    17.     <hidden>false</hidden> <!--If you need to hide it from the bot store for maintenance-->
    18.     <access>private</access>
    19.     <tags>
    20.         <tag>Tree</tag>
    21.     </tags>
    22.     <resources>
    23.     </resources>
    24. </manifest>
    And the file is located at: \\VBOXSVR\shared\production\com\blah\examplechopper
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    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.
     
  3. kndi

    Joined:
    Dec 27, 2019
    Messages:
    2
    Likes Received:
    0
    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".
     
  4. Jaredible

    Joined:
    Jan 3, 2020
    Messages:
    3
    Likes Received:
    0
    Same here. Spectre's devs need to get their act together.
     

Share This Page

Loading...