Skip to content

Unable to build: /packages cannot be represented as URI  #454

Open
@Clindbergh

Description

@Clindbergh

Trying to build the plugin on Windows using OpenJDK 17.0.1 and sbt 1.6.2.

Using Java 12 does not work due to the following error. What version is supported?

Caused by: com.intellij.diagnostic.PluginException: Cannot load class com.haskforce.HaskellFileTypeFactory (
error: com/haskforce/HaskellFileTypeFactory has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 55.0,
classLoader=PluginClassLoader(plugin=PluginDescriptor(name=HaskForce, id=com.haskforce, descriptorPath=plugin.xml, path=~\Repos\intellij-haskforce\build\idea-sandbox\plugins\HaskForce, version=0.3.47-SNAPSHOT-873f26c5-dirty, package=null), packagePrefix=null, instanceId=40, state=active)


Additionally I had to comment JFlex:

//clean.dependsOn cleanJFlex

//compileJava.dependsOn runJFlex

However I was able to run the tool directly from the git bash/msys commandline.

Execution failed for task ':runJFlex'.
A problem occurred starting process 'command './tools/run-jflex''

CreateProcess error=193, %1 is not a valid Win32 application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions