diff --git a/nb-configuration.xml b/nb-configuration.xml
index e9e56b52729f6bef68a0435ec98b924804cf7522..00dea3e61d563b10c9cd00a3ba3dda34e9871fc4 100755
--- a/nb-configuration.xml
+++ b/nb-configuration.xml
@@ -18,5 +18,6 @@ Any value defined here will override the pom.xml file value but is only applicab
         <netbeans.hint.license>nibio_open_source_license.ftl</netbeans.hint.license>
         <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>WildFly</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
         <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.7-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
+        <netbeans.hint.jdkPlatform>JDK_1.8_SUN</netbeans.hint.jdkPlatform>
     </properties>
 </project-shared-configuration>
diff --git a/pom.xml b/pom.xml
index 9d18112487f986bb4f1db4676de3010f8039ca7e..577daad6e27a819f74360e688ec64b3289492f2e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -127,8 +127,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>2.0.2</version>
         <configuration>
-          <source>10</source>
-          <target>10</target>
+          <source>1.8</source>
+          <target>1.8</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/src/main/java/no/nibio/vips/core/VIPSCoreApplication.java b/src/main/java/no/nibio/vips/core/VIPSCoreApplication.java
index 2b2a649c043fac0cb1ba564828480eed0c6fe938..1373801c4653c17a25fcf3764d99dec80c18eec4 100755
--- a/src/main/java/no/nibio/vips/core/VIPSCoreApplication.java
+++ b/src/main/java/no/nibio/vips/core/VIPSCoreApplication.java
@@ -19,10 +19,12 @@
 
 package no.nibio.vips.core;
 
+import java.util.HashSet;
 import java.util.Set;
 import javax.ws.rs.ApplicationPath;
 import javax.ws.rs.core.Application;
 
+
 /**
  * Responsible for adding REST resources
  * @copyright 2013-2018 {@link http://www.nibio.no NIBIO}
@@ -49,13 +51,7 @@ public class VIPSCoreApplication extends Application
         resources.add(no.nibio.vips.core.service.ModelResourceImpl.class);
     }
 
-    /**
-     * Do not modify addRestResourceClasses() method.
-     * It is automatically re-generated by NetBeans REST support to populate
-     * given list with all resources defined in the project.
-     */
     private void addRestResourceClasses(Set<Class<?>> resources) {
         resources.add(no.nibio.vips.core.config.JacksonConfig.class);
-        resources.add(no.nibio.vips.core.service.ModelResourceImpl.class);
     }
 }
\ No newline at end of file