简体   繁体   English

从小门1.4迁移到1.5现在无法导入软件包

[英]Migrate from wicket 1.4 to 1.5 now not able to import packages

I have a project I built in Wicket 1.4. 我有一个在Wicket 1.4中构建的项目。 When I moved to 1.5 to take advantage of the IEvent feature, suddenly I can't compile because the wicket java pages can't see the packages of my service tier. 当我移至1.5以利用IEvent功能时,突然无法编译,因为检票口Java页面无法看到我的服务层的程序包。 My service tier is built in groovy 2.0.0, though I doubt that this is the problem. 我的服务层内置于groovy 2.0.0中,尽管我怀疑这是问题所在。 I must be missing something obvious. 我一定想念一些明显的东西。 Below are my dependencies: where wicket version is 1.5.7 以下是我的依赖项:wicket版本为1.5.7

       <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-core</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-extensions</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-spring</artifactId>
        <version>${wicket.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.wicket</groupId>
        <artifactId>wicket-ioc</artifactId>
        <version>${wicket.version}</version>
    </dependency>

my imports are well...imports 我的进口很好...进口

Thank you for your help Don, but it turns out I had made a change to my pom file where I removed the <goal>generateStubs</goal> <goal>generateTestStubs</goal> from my gmaven plugin executions. 感谢Don的帮助,但事实证明,我对pom文件进行了更改,在其中我从gmaven插件执行中删除了<goal>generateStubs</goal> <goal>generateTestStubs</goal> The problem didn't surface since I hadn't made a change in my groovy code and then when I did make a change it wasn't compiling the groovy code at all which is what led to the absence of the groovy packages. 由于我没有更改groovy代码,因此问题并未浮出水面,然后当我进行更改时,根本就没有编译groovy代码,这导致缺少groovy软件包。 It just happened to coincide with my wicket version change. 刚好与我的检票口版本更改相吻合。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM