# Install from intelliJ

**URL:** <https://forum.inductiveautomation.com/t/install-from-intellij/13974>\
**Category:** Module Development\
**Created:** [April 3, 2017, 4:57pm UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974 "2017-04-03T16:57:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [April 3, 2017, 4:57pm UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/1 "2017-04-03T16:57:18Z")

</div>

Hi,

since some weeks, I had some trouble with install execution of maven :

`
[INFO] Installing D:\dev\svn\LB9000\LB9000-build\target\LB9000-Driver-Module-unsigned.modl to gateway.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] LB9000 Driver Module ............................... SUCCESS [0.440 s]
[INFO] LB9000-Gateway ..................................... SUCCESS [3.106 s]
[INFO] LB9000-build ....................................... FAILURE [1.369 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.045 s
[INFO] Finished at: 2017-04-03T18:49:42+02:00
[INFO] Final Memory: 17M/168M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.8:post (postexecution) on project LB9000-build: Could not post the module to the Gateway. Could not post module to gateway. no protocol: 127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.8:post (postexecution) on project LB9000-build: Could not post the module to the Gateway.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not post the module to the Gateway.
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.execute(PostModuleMojo.java:78)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 21 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not post module to gateway.
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.postModuleToGateway(PostModuleMojo.java:119)
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.execute(PostModuleMojo.java:75)
	... 23 more
Caused by: java.net.MalformedURLException: no protocol: 127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet
	at java.net.URL.<init>(URL.java:593)
	at java.net.URL.<init>(URL.java:490)
	at java.net.URL.<init>(URL.java:439)
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.postModuleToGateway(PostModuleMojo.java:89)
	... 24 more
[ERROR] `

each time I try to install, I get this message.

I haven’t got any trouble to install module with web interface.

Do you know why? I think that I forget something but I don’t know what ?

Any idea?

Best regards  
[pom.xml](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/df7d685cf8b022d92fc25b5c76a7f6fe36f1fd02.xml) (3.59 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 3, 2017, 5:29pm UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/2 "2017-04-03T17:29:15Z")

</div>

I think you need to include “http://” in your gateway address configuration.

---

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [April 3, 2017, 9:02pm UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/3 "2017-04-03T21:02:50Z")

</div>

Hi Kevin,

thank you for your quick answer but I already did a test with “http://” before the ip.

The console result said :

`
[INFO] Installing D:\dev\svn\LB9000\LB9000-build\target\LB9000-Driver-Module-unsigned.modl to gateway.
[INFO] Deploying to http://127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet
[DEBUG] Successfully connected to http://127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet/main/system/DeveloperModuleLoadingServlet
[DEBUG] Successfully encoded D:\dev\svn\LB9000\LB9000-build\target\LB9000-Driver-Module-unsigned.modl.
[DEBUG] Successfully wrote D:\dev\svn\LB9000\LB9000-build\target\LB9000-Driver-Module-unsigned.modl to Gateway.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] LB9000 Driver Module ............................... SUCCESS [2.125 s]
[INFO] LB9000-Gateway ..................................... SUCCESS [5.797 s]
[INFO] LB9000-build ....................................... FAILURE [3.168 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.459 s
[INFO] Finished at: 2017-04-03T22:56:05+02:00
[INFO] Final Memory: 14M/117M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.8:post (postexecution) on project LB9000-build: Could not post the module to the Gateway. Could not post module to gateway. http://127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.inductiveautomation.ignitionsdk:ignition-maven-plugin:1.0.8:post (postexecution) on project LB9000-build: Could not post the module to the Gateway.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not post the module to the Gateway.
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.execute(PostModuleMojo.java:78)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 21 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not post module to gateway.
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.postModuleToGateway(PostModuleMojo.java:119)
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.execute(PostModuleMojo.java:75)
	... 23 more
Caused by: java.io.FileNotFoundException: http://127.0.0.1:8088/main/system/DeveloperModuleLoadingServlet
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at com.inductiveautomation.ignitionsdk.PostModuleMojo.postModuleToGateway(PostModuleMojo.java:110)
	... 24 more
[ERROR] `

Thanks  
[pom.xml](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/117bd491f0ce3d10cea63f05da93b9ea88841717.xml) (3.6 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 4, 2017, 3:28am UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/4 "2017-04-04T03:28:07Z")

</div>

What version of Ignition are you using now?

You may have to modify ignition.conf and set one or both of these flags in the additional parameters section:  
-Dignition.allowunsignedmodules=true  
-Dia.developer.moduleupload=true

At some point a change was made so that the developer module loading servlet must be explicitly enabled.

---

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [April 4, 2017, 6:38am UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/5 "2017-04-04T06:38:06Z")

</div>

Great, it works  
😆😆😆

should be written on this page, no?  
[https://docs.inductiveautomation.com:8443/display/SE/The+Ignition+Maven+Plugin](https://docs.inductiveautomation.com:8443/display/SE/The+Ignition+Maven+Plugin)

Thank you ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")  
Best regards

---

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [April 14, 2017, 12:37pm UTC](https://forum.inductiveautomation.com/t/install-from-intellij/13974/6 "2017-04-14T12:37:49Z")

</div>

Hi Kevin,

is there any other useful options like theses?

regards,
