Skip to content

[Java][ray] Unable to run RAY with non Maven based Java project #12151

@SanaIRnI

Description

@SanaIRnI

What is the problem?

Hi,

When I am trying to run ray with hello world example without maven nature project, only normal java project with added dependencies as jars its throwing below error :

2020-11-20 10:12:55,707 INFO RunManager [main]: Ray runtime started @ 192.168.140.63.
10:12:55,707 INFO RunManager:198 - Ray runtime started @ 192.168.140.63.
Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.Type.getType(Ljava/lang/reflect/Method;)Lorg/objectweb/asm/Type;
at io.ray.runtime.functionmanager.FunctionManager$JobFunctionTable.loadFunctionsForClass(FunctionManager.java:216)
at io.ray.runtime.functionmanager.FunctionManager$JobFunctionTable.getFunction(FunctionManager.java:179)
at io.ray.runtime.functionmanager.FunctionManager.getFunction(FunctionManager.java:115)
at io.ray.runtime.functionmanager.FunctionManager.getFunction(FunctionManager.java:93)
at io.ray.runtime.AbstractRayRuntime.createActor(AbstractRayRuntime.java:152)
at io.ray.api.call.ActorCreator.remote(ActorCreator.java:41)
at app.driver.CustomerEngagementDriver.run(CustomerEngagementDriver.java:184)
at app.CustomerEngagementApplication.execute(CustomerEngagementApplication.java:20)
at app.CustomerEngagementApplication.main(CustomerEngagementApplication.java:12)

Ray version and other system information (Python version, TensorFlow version, OS):
Ray version : v1.0.0
Os : Linux DS63 5.3.0-62-generic #56~18.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

Reproduction (REQUIRED)

Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):

If we cannot run your script, we cannot fix your issue.

  • I have verified my script runs in a clean environment and reproduces the issue.
  • I have verified the issue also occurs with the latest wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for new feature and/or capabilityjavastaleThe issue is stale. It will be closed within 7 days unless there are further conversation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions