ОШИБКА Maven-Jetty freemarker.runtime - freemarker.template.TemplateModelException

Я получаю следующее сообщение об ошибке при запуске mvn appfuse: gen-model

16: 52: 36,198 Ошибка..cfg.Configuration) вызвал исключение, когда я вызвал Entity: com.igate.model.UserMaster на freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:13 6) ~[freemarker-2.3.8.jar:2.3.8] в freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) ~[ freemarker-2.3.8.jar:2.3.8] в freemarker.core.Expression.getAsTemplateModel(Expression.java:89) ~[f reemarker-2.3.8.jar:2.3.8] в freemarker.core.Expression.getStringValue(Expression.java:93) ~[freem arker-2.3.8.jar:2.3.8] в freemarker.core.DollarVariable.accept(DollarVariable.java:76) ~[freem arker-2.3.8.jar:2.3.8] на freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.MixedContent.accept(MixedContent.java:92) [freemarker -2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.IfBlock.accept(IfBlock.java:82) [freemarker-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.MixedContent.accept (MixedContent.java: 92) [freemarker -2.3.8.jar: 2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) [fr eemarker-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit (Environment.java:196) [freemarker-2.3.8.jar: 2.3.8 ] в freemarker.core.Environment.include(Environment.java:1375) [freemarke r-2.3.8.jar:2.3.8] в freemarker.core.Include.accept(Include.java:155) [freemarker-2.3.8.ja r:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.Environment.include (Environment.java: 1375) [freemarke r-2.3.8.jar: 2.3.8] в freemark er.core.Include.accept (Include.java:155) [freemarker-2.3.8.ja r: 2.3.8] в freemarker.core.Environment.visit (Environment.java:196) [freemarker-2.3.8. jar: 2.3.8] в freemarker.core.MixedContent.accept(MixedContent.java:92) [freemarker -2.3.8.jar:2.3.8] в freemarker.core.Environment.visit (Environment.java:196) [ freemarker-2.3.8.jar: 2.3.8] в freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) [fr eemarker-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) [freemarker-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:351) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) [freemark er-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.MixedContent.accept (MixedContent.java:92) [ freemarker -2.3.8.jar: 2.3.8] в свободном доступе arker.core.Environment.visit (Environment.java:196) [freemarker-2.3.8.jar: 2.3.8] в freemarker.core.Environment.include (Environment.java:1375) [freemarke r-2.3.8. jar: 2.3.8] в freemarker.core.Include.accept (Include.java:155) [freemarker-2.3.8.ja r: 2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.MixedContent.accept(MixedContent.java:92) [freemarker -2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.IfBlock.accept (IfBlock.java:82) [freemarker-2.3.8.jar: 2.3.8] в freemarker. core.Environment.visit (Environment.java:196) [freemarker-2.3.8.jar: 2.3.8] в freemarker.core.MixedContent.accept(MixedContent.java:92) [freemarker -2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:233) [freemarker-2 .3.8.jar:2.3.8] на freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) [free marker-2.3.8.jar:2.3.8] в freemarker.core.Environment.visit(Environment.java:196) [freemarker-2 .3.8.jar:2.3.8] в freemarker.core.MixedContent.accept(MixedContent.java:92) [freemarker -2.3.8.jar:2.3.8] в freemarker.core.Environment.visit (Environment.java:196) [freemarker-2.3.8. jar: 2.3.8] в freemarker.core.Environment.process(Environment.java:176) [freemarker -2.3.8.jar:2.3.8] в freemarker.template.Template.process(Template.java:232) [freemarker-2 .3.8.jar:2.3.8] в org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelpe r.java:255) [hibernate-tools-3.2.3.GA.jar:?] в орг.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplatePro ducer.java:67) [hibernate-tools-3.2.3.GA.jar:?] в org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja va:28) [hibernate-tools-3.2.3.GA.jar:?] в org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.ja va:103) [hibernate-tools-3.2.3.GA.jar:?] на org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.j ava:148) [hibernate-tools-3.2.3.GA.jar:?] в org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(универсальный cExporter.java:137) -tools-3.2.3.GA.jar:?] at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.ja va:43) [hibernate-tools-3.2.3.GA.jar:?] в org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:128) [hibernate-tools-3.2.3.GA.jar:?] at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) [hibernate-tools-3.2.3.GA.jar:?] в org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMoj o.java:228) [appfuse-maven-plugin-3.5.0.jar:?] в org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMo jo.java:183) [appfuse-maven-plugin-3.5.0.jar:?] в org.apache.maven.plugin.DefaultBuildPluginManager.execuildMogin Bug.java:134) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:208) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:116) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct (LifecycleModuleBuilder.java): [maven-core-3.3.3.jar: 3.3.3] в org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre adedBuilder.build(SingleThreadedBuilder.java:51) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:128) [maven-core-3.3.3.jar:3.3.3] в org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) [maven -core-3.3.3.jar:3.3.3] в org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) [maven -core-3.3.3.jar:3.3.3] в org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) [maven-c ore-3.3.3.jar:3.3.3] в org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) [maven-embed der-3.3.3.jar:3.3.3] в org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) [maven-embedd er-3.3.3.jar:3.3.3] в org.apache.maven.cli.MavenCli.main(MavenCli.java:197) [maven-embedder -3.3.3.jar:3.3.3] в sun.reflect.NativeMethodAccessorImpl.invoke0(собственный метод) ~[?:1.8.0 _05] в sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. Java:62) ~[?:1.8.0_05] на sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) ~[?:1.8.0_05] на java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05] в org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:289) [plexus-classworlds-2.5.2.jar:?] в org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:229) [plexus-classworlds-2.5.2.jar:?] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:415) [plexus-classworlds-2.5.2.jar:?] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 356) [plexus-classworlds-2.5.2.jar:?] Вызывается: java.lang.IllegalArgumentException: неверное количество аргументов в sun.reflect.NativeMethodAccessorImpl.invoke0(собственный метод) ~[?:1.8.0 _05] в sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAavaor): [?:1.8.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) ~[?:1.8.0_05] в java.lang.reflect.Method.invoke (Method.java:483) ~ [?: 1.8.0_05] в freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) ~[freemarker-2.3.8.jar:2.3.8] по адресу freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:11 3) ~[freemarker-2.3.8.jar:2.3.8] ... еще 78 [ ИНФОРМАЦИЯ] ------------------------------------------------ ------------------------ [INFO] СБОЙ СТРОИТЕЛЬСТВА [INFO] ------------------ -------------------------------------------------- ---- [INFO] Общее время: 4,538 с [INFO] Окончание: 2015-05-19T16:52:36+05:30 [INFO] Окончательная память: 22M/54M [INFO] ------------------------------------------------------------------------ [ОШИБКА] Не удалось выполнить цель org.appfuse.plugins:appfuse-maven-plugin:3.5.0:ge n-model (default-cli) в проекте fitnessAdmin: Выполнение default-cli цели org.appfuse.plugins: appfuse-maven-plugin: 3.5.0: ошибка gen-модели: ошибка при обработке объекта Entity: com.igate.model.UserMaster с шаблоном appfuse/model/Pojo.ftl: Я общественный va.lang.String org.h ibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hiber nate.mapping.Property,org.hibernate.cfg.Configuration) вызвал исключение при вызове Entity: com..UserMaster: неверное количество аргументов -> [Справка 1] [ОШИБКА] [ОШИБКА] Чтобы увидеть полный трассировку стека ошибок, перезапустите Maven с помощью -e swit ch. [ОШИБКА] Перезапустите Maven, используя ключ -X, чтобы включить полное ведение журнала отладки. [ОШИБКА] [ОШИБКА] Для получения дополнительной информации об ошибках и возможных решениях, пожалуйста, прочитайте следующие статьи: [ОШИБКА] [Помощь 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio nException

0 ответов

Другие вопросы по тегам