Unable to import Maven project in Intellij












0















I am trying to import a local jar file using Maven, but it looks like Maven service is refusing to start, and therefore I can't reimport it when I make any changes (don't know what was the change that caused this).



This is the idea.log file output whenever I try to re-import something:



2018-11-19 16:44:24,363 [3648709]   WARN -
ution.rmi.RemoteProcessSupport - Unrecognized option: -d64 2018-11-19
16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
Error: Could not create the Java Virtual Machine. 2018-11-19
16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
Error: A fatal exception has occurred. Program will exit. 2018-11-19
16:44:24,402 [3648748] WARN - ution.rmi.RemoteProcessSupport -
Unrecognized option: -d64 2018-11-19 16:44:24,402 [3648748] WARN -
ution.rmi.RemoteProcessSupport - Error: Could not create the Java
Virtual Machine. 2018-11-19 16:44:24,402 [3648748] WARN -
ution.rmi.RemoteProcessSupport - Error: A fatal exception has
occurred. Program will exit. 2018-11-19 16:44:24,402 [3648748] ERROR
- #org.jetbrains.idea.maven - Cannot reconnect. java.lang.RuntimeException: Cannot reconnect. at
org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
at
org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:526)
at
org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:394)
at
org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
at
org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
at
org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:643)
at
org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554)
at
org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:463)
at
org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:442)
at
org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:64)
at
org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
at
org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
at
org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
at
org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:446)
at
com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745) Caused by:
java.rmi.RemoteException: Cannot start maven service; nested exception
is: com.intellij.execution.ExecutionException: Unrecognized option:
-d64 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

at
org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:161)
at
org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:66)
at
org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at
org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:526)
at
org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 19 more
Caused by: com.intellij.execution.ExecutionException: Unrecognized option: -d64 Error: Could not create the Java Virtual
Machine. Error: A fatal exception has occurred. Program will exit. at
com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:160)
at
org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:158)
23 more 2018-11-19 16:44:24,403 [3648749] ERROR -
#org.jetbrains.idea.maven - IntelliJ IDEA 2018.1.5 Build #IU-181.5281.24 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release 2018-11-19 16:44:24,403 [3648749] ERROR -
#org.jetbrains.idea.maven - VM:
OpenJDK 64-Bit Server VM 2018-11-19 16:44:24,403 [3648749] ERROR -
#org.jetbrains.idea.maven - Vendor: JetBrains s.r.o 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - OS:
Mac OS X 2018-11-19 16:44:24,403 [3648749] ERROR -
#org.jetbrains.idea.maven - Last Action: SaveAll


I can't even start Maven according to this - this is the relevant part from my pom.xml:



  <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>dummy</groupId>
<artifactId>dummy</artifactId>
<version>1.0-SNAPSHOT</version>

<repositories>
<repository>
<id>local-maven-repo</id>
<url>file:///${project.basedir}/local-maven-repo</url>
</repository>
</repositories>

<properties>
<maven.compiler.source>1.10</maven.compiler.source>
<maven.compiler.target>1.10</maven.compiler.target>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.10</source>
<target>1.10</target>
</configuration>
</plugin>
</plugins>
</build>


If anything else is needed I'll upload.










share|improve this question





























    0















    I am trying to import a local jar file using Maven, but it looks like Maven service is refusing to start, and therefore I can't reimport it when I make any changes (don't know what was the change that caused this).



    This is the idea.log file output whenever I try to re-import something:



    2018-11-19 16:44:24,363 [3648709]   WARN -
    ution.rmi.RemoteProcessSupport - Unrecognized option: -d64 2018-11-19
    16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
    Error: Could not create the Java Virtual Machine. 2018-11-19
    16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
    Error: A fatal exception has occurred. Program will exit. 2018-11-19
    16:44:24,402 [3648748] WARN - ution.rmi.RemoteProcessSupport -
    Unrecognized option: -d64 2018-11-19 16:44:24,402 [3648748] WARN -
    ution.rmi.RemoteProcessSupport - Error: Could not create the Java
    Virtual Machine. 2018-11-19 16:44:24,402 [3648748] WARN -
    ution.rmi.RemoteProcessSupport - Error: A fatal exception has
    occurred. Program will exit. 2018-11-19 16:44:24,402 [3648748] ERROR
    - #org.jetbrains.idea.maven - Cannot reconnect. java.lang.RuntimeException: Cannot reconnect. at
    org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
    at
    org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:526)
    at
    org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:394)
    at
    org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
    at
    org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
    at
    org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:643)
    at
    org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554)
    at
    org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:463)
    at
    org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:442)
    at
    org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:64)
    at
    org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
    at
    org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
    at
    org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
    at
    org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:446)
    at
    com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
    at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745) Caused by:
    java.rmi.RemoteException: Cannot start maven service; nested exception
    is: com.intellij.execution.ExecutionException: Unrecognized option:
    -d64 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

    at
    org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:161)
    at
    org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:66)
    at
    org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
    at
    org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:526)
    at
    org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
    ... 19 more
    Caused by: com.intellij.execution.ExecutionException: Unrecognized option: -d64 Error: Could not create the Java Virtual
    Machine. Error: A fatal exception has occurred. Program will exit. at
    com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:160)
    at
    org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:158)
    23 more 2018-11-19 16:44:24,403 [3648749] ERROR -
    #org.jetbrains.idea.maven - IntelliJ IDEA 2018.1.5 Build #IU-181.5281.24 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release 2018-11-19 16:44:24,403 [3648749] ERROR -
    #org.jetbrains.idea.maven - VM:
    OpenJDK 64-Bit Server VM 2018-11-19 16:44:24,403 [3648749] ERROR -
    #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - OS:
    Mac OS X 2018-11-19 16:44:24,403 [3648749] ERROR -
    #org.jetbrains.idea.maven - Last Action: SaveAll


    I can't even start Maven according to this - this is the relevant part from my pom.xml:



      <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>dummy</groupId>
    <artifactId>dummy</artifactId>
    <version>1.0-SNAPSHOT</version>

    <repositories>
    <repository>
    <id>local-maven-repo</id>
    <url>file:///${project.basedir}/local-maven-repo</url>
    </repository>
    </repositories>

    <properties>
    <maven.compiler.source>1.10</maven.compiler.source>
    <maven.compiler.target>1.10</maven.compiler.target>
    </properties>

    <build>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
    <source>1.10</source>
    <target>1.10</target>
    </configuration>
    </plugin>
    </plugins>
    </build>


    If anything else is needed I'll upload.










    share|improve this question



























      0












      0








      0








      I am trying to import a local jar file using Maven, but it looks like Maven service is refusing to start, and therefore I can't reimport it when I make any changes (don't know what was the change that caused this).



      This is the idea.log file output whenever I try to re-import something:



      2018-11-19 16:44:24,363 [3648709]   WARN -
      ution.rmi.RemoteProcessSupport - Unrecognized option: -d64 2018-11-19
      16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
      Error: Could not create the Java Virtual Machine. 2018-11-19
      16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
      Error: A fatal exception has occurred. Program will exit. 2018-11-19
      16:44:24,402 [3648748] WARN - ution.rmi.RemoteProcessSupport -
      Unrecognized option: -d64 2018-11-19 16:44:24,402 [3648748] WARN -
      ution.rmi.RemoteProcessSupport - Error: Could not create the Java
      Virtual Machine. 2018-11-19 16:44:24,402 [3648748] WARN -
      ution.rmi.RemoteProcessSupport - Error: A fatal exception has
      occurred. Program will exit. 2018-11-19 16:44:24,402 [3648748] ERROR
      - #org.jetbrains.idea.maven - Cannot reconnect. java.lang.RuntimeException: Cannot reconnect. at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:526)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:394)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
      at
      org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:643)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:463)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:442)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:64)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
      at
      org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:446)
      at
      com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745) Caused by:
      java.rmi.RemoteException: Cannot start maven service; nested exception
      is: com.intellij.execution.ExecutionException: Unrecognized option:
      -d64 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:161)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:66)
      at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:526)
      at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
      ... 19 more
      Caused by: com.intellij.execution.ExecutionException: Unrecognized option: -d64 Error: Could not create the Java Virtual
      Machine. Error: A fatal exception has occurred. Program will exit. at
      com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:160)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:158)
      23 more 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - IntelliJ IDEA 2018.1.5 Build #IU-181.5281.24 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - VM:
      OpenJDK 64-Bit Server VM 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - OS:
      Mac OS X 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - Last Action: SaveAll


      I can't even start Maven according to this - this is the relevant part from my pom.xml:



        <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>

      <groupId>dummy</groupId>
      <artifactId>dummy</artifactId>
      <version>1.0-SNAPSHOT</version>

      <repositories>
      <repository>
      <id>local-maven-repo</id>
      <url>file:///${project.basedir}/local-maven-repo</url>
      </repository>
      </repositories>

      <properties>
      <maven.compiler.source>1.10</maven.compiler.source>
      <maven.compiler.target>1.10</maven.compiler.target>
      </properties>

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <source>1.10</source>
      <target>1.10</target>
      </configuration>
      </plugin>
      </plugins>
      </build>


      If anything else is needed I'll upload.










      share|improve this question
















      I am trying to import a local jar file using Maven, but it looks like Maven service is refusing to start, and therefore I can't reimport it when I make any changes (don't know what was the change that caused this).



      This is the idea.log file output whenever I try to re-import something:



      2018-11-19 16:44:24,363 [3648709]   WARN -
      ution.rmi.RemoteProcessSupport - Unrecognized option: -d64 2018-11-19
      16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
      Error: Could not create the Java Virtual Machine. 2018-11-19
      16:44:24,363 [3648709] WARN - ution.rmi.RemoteProcessSupport -
      Error: A fatal exception has occurred. Program will exit. 2018-11-19
      16:44:24,402 [3648748] WARN - ution.rmi.RemoteProcessSupport -
      Unrecognized option: -d64 2018-11-19 16:44:24,402 [3648748] WARN -
      ution.rmi.RemoteProcessSupport - Error: Could not create the Java
      Virtual Machine. 2018-11-19 16:44:24,402 [3648748] WARN -
      ution.rmi.RemoteProcessSupport - Error: A fatal exception has
      occurred. Program will exit. 2018-11-19 16:44:24,402 [3648748] ERROR
      - #org.jetbrains.idea.maven - Cannot reconnect. java.lang.RuntimeException: Cannot reconnect. at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:526)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:394)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
      at
      org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
      at
      org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:643)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:554)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:463)
      at
      org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:442)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:64)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
      at
      org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
      at
      org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:446)
      at
      com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745) Caused by:
      java.rmi.RemoteException: Cannot start maven service; nested exception
      is: com.intellij.execution.ExecutionException: Unrecognized option:
      -d64 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:161)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:66)
      at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:526)
      at
      org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
      ... 19 more
      Caused by: com.intellij.execution.ExecutionException: Unrecognized option: -d64 Error: Could not create the Java Virtual
      Machine. Error: A fatal exception has occurred. Program will exit. at
      com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:160)
      at
      org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:158)
      23 more 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - IntelliJ IDEA 2018.1.5 Build #IU-181.5281.24 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - VM:
      OpenJDK 64-Bit Server VM 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o 2018-11-19 16:44:24,403 [3648749] ERROR - #org.jetbrains.idea.maven - OS:
      Mac OS X 2018-11-19 16:44:24,403 [3648749] ERROR -
      #org.jetbrains.idea.maven - Last Action: SaveAll


      I can't even start Maven according to this - this is the relevant part from my pom.xml:



        <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>

      <groupId>dummy</groupId>
      <artifactId>dummy</artifactId>
      <version>1.0-SNAPSHOT</version>

      <repositories>
      <repository>
      <id>local-maven-repo</id>
      <url>file:///${project.basedir}/local-maven-repo</url>
      </repository>
      </repositories>

      <properties>
      <maven.compiler.source>1.10</maven.compiler.source>
      <maven.compiler.target>1.10</maven.compiler.target>
      </properties>

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <source>1.10</source>
      <target>1.10</target>
      </configuration>
      </plugin>
      </plugins>
      </build>


      If anything else is needed I'll upload.







      java maven intellij-idea






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '18 at 16:13









      MCO

      4951211




      4951211










      asked Nov 19 '18 at 14:55









      SockworkOrangeSockworkOrange

      375




      375
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Either you have you hit this bug or your firewall is causing issues?



          BUG : https://youtrack.jetbrains.com/issue/IDEA-195143






          share|improve this answer
























          • That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

            – SockworkOrange
            Nov 19 '18 at 15:21











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53377215%2funable-to-import-maven-project-in-intellij%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Either you have you hit this bug or your firewall is causing issues?



          BUG : https://youtrack.jetbrains.com/issue/IDEA-195143






          share|improve this answer
























          • That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

            – SockworkOrange
            Nov 19 '18 at 15:21
















          1














          Either you have you hit this bug or your firewall is causing issues?



          BUG : https://youtrack.jetbrains.com/issue/IDEA-195143






          share|improve this answer
























          • That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

            – SockworkOrange
            Nov 19 '18 at 15:21














          1












          1








          1







          Either you have you hit this bug or your firewall is causing issues?



          BUG : https://youtrack.jetbrains.com/issue/IDEA-195143






          share|improve this answer













          Either you have you hit this bug or your firewall is causing issues?



          BUG : https://youtrack.jetbrains.com/issue/IDEA-195143







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 19 '18 at 15:05









          Sheetal Mohan SharmaSheetal Mohan Sharma

          2,32111522




          2,32111522













          • That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

            – SockworkOrange
            Nov 19 '18 at 15:21



















          • That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

            – SockworkOrange
            Nov 19 '18 at 15:21

















          That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

          – SockworkOrange
          Nov 19 '18 at 15:21





          That was it - thank you! All I had to do was to change Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing to 1.8 and the project compiled successfully.

          – SockworkOrange
          Nov 19 '18 at 15:21




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53377215%2funable-to-import-maven-project-in-intellij%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()