Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3692

can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.2.RELEASE
    • Fix Version/s: None
    • Component/s: @ ROO SHELL
    • Labels:
      None
    • Environment:
      Windows 8

      Description

      This is the whole console output, for what I tried to achieve:

      C:\Betlista\tmp>mkdir RooWebTest04

      C:\Betlista\tmp>cd RooWebTest04

      C:\Betlista\tmp\RooWebTest04>roo
      ____ ____ ____
      / __ \/ __ \/ __ \
      / /_/ / / / / / / /
      / , _/ // / /_/ /
      // ||___/___/ 1.3.2.RELEASE [rev 8387857]

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
      roo> project --topLevelPackage betlista.tests.roo.web –

      project --topLevelPackage betlista.tests.roo.web --java project --topLevelPackage betlista.tests.roo.web --packaging
      project --topLevelPackage betlista.tests.roo.web --parent project --topLevelPackage betlista.tests.roo.web --projectName

      roo> project --topLevelPackage betlista.tests.roo.web --projectName RooWebTest04
      Created ROOT\pom.xml
      Created SRC_MAIN_RESOURCES
      Created SRC_MAIN_RESOURCES\log4j.properties
      Created SPRING_CONFIG_ROOT
      Created SPRING_CONFIG_ROOT\applicationContext.xml
      roo> web mvc setup
      Created ROOT\src\main\webapp\WEB-INF\spring
      Created ROOT\src\main\webapp\WEB-INF\spring\webmvc-config.xml
      Created ROOT\src\main\webapp\WEB-INF\web.xml
      Updated ROOT\src\main\webapp\WEB-INF\spring\webmvc-config.xml
      Created ROOT\src\main\webapp\images
      Created ROOT\src\main\webapp\images\add.png
      Created ROOT\src\main\webapp\images\banner-graphic.png
      Created ROOT\src\main\webapp\images\create.png
      Created ROOT\src\main\webapp\images\delete.png
      Created ROOT\src\main\webapp\images\favicon.ico
      Created ROOT\src\main\webapp\images\list.png
      Created ROOT\src\main\webapp\images\resultset_first.png
      Created ROOT\src\main\webapp\images\resultset_last.png
      Created ROOT\src\main\webapp\images\resultset_next.png
      Created ROOT\src\main\webapp\images\resultset_previous.png
      Created ROOT\src\main\webapp\images\show.png
      Created ROOT\src\main\webapp\images\springsource-logo.png
      Created ROOT\src\main\webapp\images\update.png
      Created ROOT\src\main\webapp\styles
      Created ROOT\src\main\webapp\styles\alt.css
      Created ROOT\src\main\webapp\styles\standard.css
      Created ROOT\src\main\webapp\WEB-INF\classes
      Created ROOT\src\main\webapp\WEB-INF\classes\alt.properties
      Created ROOT\src\main\webapp\WEB-INF\classes\standard.properties
      Created ROOT\src\main\webapp\WEB-INF\layouts
      Created ROOT\src\main\webapp\WEB-INF\layouts\default.jspx
      Created ROOT\src\main\webapp\WEB-INF\layouts\layouts.xml
      Created ROOT\src\main\webapp\WEB-INF\views
      Created ROOT\src\main\webapp\WEB-INF\views\header.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\menu.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\footer.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\views.xml
      Created ROOT\src\main\webapp\WEB-INF\views\dataAccessFailure.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\index-template.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\index.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\resourceNotFound.jspx
      Created ROOT\src\main\webapp\WEB-INF\views\uncaughtException.jspx
      Created ROOT\src\main\webapp\WEB-INF\tags\form
      Created ROOT\src\main\webapp\WEB-INF\tags\form\create.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\dependency.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\find.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\list.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\show.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\update.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\checkbox.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\column.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\datetime.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\display.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\editor.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\input.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\reference.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\select.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\simple.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\table.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\form\fields\textarea.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\menu
      Created ROOT\src\main\webapp\WEB-INF\tags\menu\category.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\menu\item.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\menu\menu.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util
      Created ROOT\src\main\webapp\WEB-INF\tags\util\language.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util\load-scripts.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util\pagination.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util\panel.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util\placeholder.tagx
      Created ROOT\src\main\webapp\WEB-INF\tags\util\theme.tagx
      Created ROOT\src\main\webapp\WEB-INF\i18n
      Created ROOT\src\main\webapp\WEB-INF\i18n\messages.properties
      Created ROOT\src\main\webapp\images\en.png
      Updated ROOT\src\main\webapp\WEB-INF\i18n\application.properties
      Updated ROOT\src\main\webapp\WEB-INF\web.xml
      Updated ROOT\pom.xml [added dependencies org.springframework:spring-webmvc:${spring.version}, org.springframework.webflow:spring-js-resources:2.2.1.RELEASE, commons-digester:commons-digester:2.1, commons-fileupload:commons-fileupload:1.2.2, javax.servlet.jsp.jstl:jstl-api:1.2, org.glassfish.web:jstl-impl:1.2, javax.el:el-api:2.2, joda-time:joda-time:1.6, javax.servlet.jsp:jsp-api:2.1, commons-codec:commons-codec:1.5; updated project type to war; added property 'tomcat.version' = '7.0.63'; added plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.2; added plugin org.mortbay.jetty:jetty-maven-plugin:8.1.4.v20120524; added dependency org.apache.tiles:tiles-jsp:2.2.2]
      Updated SRC_MAIN_WEBAPP\WEB-INF\views\footer.jspx
      roo>
      roo>
      roo> web mvc controller --class ~.controller.Greeting
      Created SRC_MAIN_JAVA\betlista\tests\roo\web\controller
      Created SRC_MAIN_JAVA\betlista\tests\roo\web\controller\Greeting.java
      Updated SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
      Created SRC_MAIN_WEBAPP\WEB-INF\views\greeting
      Created SRC_MAIN_WEBAPP\WEB-INF\views\greeting\views.xml
      Created SRC_MAIN_WEBAPP\WEB-INF\views\greeting\index.jspx
      Updated SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
      roo> exit
      C:\Betlista\tmp\RooWebTest04>mvn clean install
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building RooWebTest04 0.1.0.BUILD-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ RooWebTest04 —
      [INFO]
      [INFO] — aspectj-maven-plugin:1.4:compile (default) @ RooWebTest04 —
      [ERROR] can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport
      when batch building BuildConfig[null] #Files=1 AopXmls=#0
      [Xlint:cantFindType]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 11.152 s
      [INFO] Finished at: 2016-01-01T16:25:43+01:00
      [INFO] Final Memory: 13M/121M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:compile (default) on project RooWebTest04: Compiler errors:
      [ERROR] error can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport
      [ERROR] when batch building BuildConfig[null] #Files=1 AopXmls=#0
      [ERROR] [Xlint:cantFindType]
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      C:\Betlista\tmp\RooWebTest04>

      I'd expect that `web mvc setup` configures my pom properly...

        Attachments

          Activity

            People

            • Assignee:
              eruiz Enrique Ruiz (DiSiD)
              Reporter:
              betlista Martin Suska
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: