Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile! #10

Open
sratatata opened this issue Aug 27, 2014 · 2 comments
Open

Can't compile! #10

sratatata opened this issue Aug 27, 2014 · 2 comments

Comments

@sratatata
Copy link

This is na out from compilation time of this sample application. Any one have same problem?

 "C:\Program Files\Java\jdk1.8.0_05\bin\java" -Dgrails.home=C:\TOOLS\grails -Dbase.dir=C:\a\GIT\neo4jsample "-Dtools.jar=C:\Program Files\Java\jdk1.8.0_05\lib\tools.jar" -Dgroovy.starter.conf=C:\TOOLS\grails/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -javaagent:C:\TOOLS\grails\lib\org.springframework\springloaded\jars\springloaded-1.2.0.RELEASE.jar -noverify -Dspringloaded=profile=grails -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 138.1696.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\TOOLS\grails\lib\org.codehaus.groovy\groovy-all\jars\groovy-all-2.3.6.jar;C:\TOOLS\grails\dist\grails-bootstrap-2.4.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 138.1696.2\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\TOOLS\grails/conf/groovy-starter.conf "run-app -plain-output"
  |Loading Grails 2.4.3
  |Configuring classpath
  sie 27, 2014 8:03:23 PM java.util.prefs.WindowsPreferences <init>
  WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
  Cannot find plugin descriptor for path 'C:\a\GIT\grails-data-mapping\grails-plugins\neo4j'.
  .
  |Environment set to development
  .................................
  |Packaging Grails application
  ....
  |Compiling 48 source files
    [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
    [groovyc] Compile error during compilation with javac.
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:42: error: no interface expected here
    [groovyc] public class ScaffoldingViewResolver extends GrailsViewResolver {
    [groovyc]                                              ^
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldedGroovyPageView.java:75: error: method does not override or implement a method from a supertype
    [groovyc]   @Override
    [groovyc]   ^
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldedGroovyPageView.java:87: error: method createResponseWriter in class GroovyPageView cannot be applied to given types;
    [groovyc]       out = createResponseWriter(response);
    [groovyc]             ^
    [groovyc]   required: GrailsWebRequest,HttpServletResponse
    [groovyc]   found: HttpServletResponse
    [groovyc]   reason: actual and formal argument lists differ in length
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:58: error: method does not override or implement a method from a supertype
    [groovyc]   @Override
    [groovyc]   ^
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:88: error: cannot find symbol
    [groovyc]     return super.createFallbackView(viewName);
    [groovyc]            ^
    [groovyc]   symbol:   variable super
    [groovyc]   location: class ScaffoldingViewResolver
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:97: error: cannot find symbol
    [groovyc]     view.setApplicationContext(getApplicationContext());
    [groovyc]                                ^
    [groovyc]   symbol:   method getApplicationContext()
    [groovyc]   location: class ScaffoldingViewResolver
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:98: error: cannot find symbol
    [groovyc]     view.setServletContext(getServletContext());
    [groovyc]                            ^
    [groovyc]   symbol:   method getServletContext()
    [groovyc]   location: class ScaffoldingViewResolver
    [groovyc] C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:99: error: cannot find symbol
    [groovyc]     view.setTemplateEngine(templateEngine);
    [groovyc]                            ^
    [groovyc]   symbol:   variable templateEngine
    [groovyc]   location: class ScaffoldingViewResolver
    [groovyc] 8 errors
    [groovyc] 
    [groovyc] 
    [groovyc] 1 error
  .Error 
  |
  Compilation error: startup failed:
  Compile error during compilation with javac.
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:42: error: no interface expected here
  public class ScaffoldingViewResolver extends GrailsViewResolver {
                                               ^
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldedGroovyPageView.java:75: error: method does not override or implement a method from a supertype
    @Override
    ^
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldedGroovyPageView.java:87: error: method createResponseWriter in class GroovyPageView cannot be applied to given types;
        out = createResponseWriter(response);
              ^
    required: GrailsWebRequest,HttpServletResponse
    found: HttpServletResponse
    reason: actual and formal argument lists differ in length
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:58: error: method does not override or implement a method from a supertype
    @Override
    ^
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:88: error: cannot find symbol
      return super.createFallbackView(viewName);
             ^
    symbol:   variable super
    location: class ScaffoldingViewResolver
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:97: error: cannot find symbol
      view.setApplicationContext(getApplicationContext());
                                 ^
    symbol:   method getApplicationContext()
    location: class ScaffoldingViewResolver
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:98: error: cannot find symbol
      view.setServletContext(getServletContext());
                             ^
    symbol:   method getServletContext()
    location: class ScaffoldingViewResolver
  C:\a\GIT\neo4jsample\target\work\plugins\scaffolding-2.0.1\src\java\org\codehaus\groovy\grails\scaffolding\view\ScaffoldingViewResolver.java:99: error: cannot find symbol
      view.setTemplateEngine(templateEngine);
                             ^
    symbol:   variable templateEngine
    location: class ScaffoldingViewResolver
  8 errors


  1 error

  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0

  Process finished with exit code 1
@john-london
Copy link

Yes, I'm seeing similar errors when building. I can't get it to compile using either Java 1.7 or Java 1.8: they both give similar errors.

@nmaynes
Copy link

nmaynes commented Mar 6, 2015

Has anyone figured this issue out? I am getting the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants