Skip to content

Chapter3 ClassNotFoundException #2

@Xombie404

Description

@Xombie404

If someone following along with Ch.3 on page 69, isn't using blueJ, they have are highly likely to run into this error, The solution I found was instead of the line:

Class theClass = Class.forName(className);

they should instead use

Class theClass = Class.forName("com.mygdx.game." + className);

I just wanted to make sure any people who struggle with this issue will be able to find a solution quicker than I did.

This worked for me, since I'm using Eclipse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions