Fórum Dúvida Curso: Loja Virtual completa com JavaEE e JavaSE #408967
30/10/2011
0
Deployment localizado em D:\Java\Projetos Netbeans\Curso Loja Virtual JavaEE and JavaSE\EcommerceDevemida\build\web Initializing... deploy?DEFAULT=D:\Java\Projetos Netbeans\Curso Loja Virtual JavaEE and JavaSE\EcommerceDevemida\build\web&name=EcommerceDevemida&force=true falhou em GlassFish Server 3.1 Erro durante a implementação: Exception while preparing the app : Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [EcommerceDevemidaPU] failed. Internal Exception: Exception [EclipseLink-7333] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.ValidationException Exception Description: The reference column name [id] mapped on the element [field creditCard] does not correspond to a valid field on the mapping reference.. Consulte o server.log para obter mais detalhes D:\Java\Projetos Netbeans\Curso Loja Virtual JavaEE and JavaSE\EcommerceDevemida\nbproject\build-impl.xml:722: O módulo não foi implementado. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:613) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) FALHA NA CONSTRUÇÃO (tempo total: 4 segundos)
Rogério Martins
Curtir tópico
+ 0Posts
31/10/2011
Robson Teixeira
att
robson
Gostei + 0
01/11/2011
Luciano Martins
deployment localizado em d:\java\projetos netbeans\curso loja virtual javaee and javase\ecommercedevemida\build\web
initializing...
deploy?default=d:\java\projetos netbeans\curso loja virtual javaee and javase\ecommercedevemida\build\web&name=ecommercedevemida&force=true falhou em glassfish server 3.1
erro durante a implementação: exception while preparing the app : exception [eclipselink-28018] (eclipse persistence services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.entitymanagersetupexception
exception description: predeployment of persistenceunit [ecommercedevemidapu] failed.
internal exception: exception [eclipselink-7333] (eclipse persistence services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.validationexception
exception description: the reference column name [id] mapped on the element [field creditcard] does not correspond to a valid field on the mapping reference.. consulte o server.log para obter mais detalhes
d:\java\projetos netbeans\curso loja virtual javaee and javase\ecommercedevemida\nbproject\build-impl.xml:722:
o módulo não foi implementado.
at org.netbeans.modules.j2ee.deployment.devmodules.api.deployment.deploy(deployment.java:210)
at org.netbeans.modules.j2ee.ant.deploy.execute(deploy.java:106)
at org.apache.tools.ant.unknownelement.execute(unknownelement.java:291)
at sun.reflect.generatedmethodaccessor320.invoke(unknown source)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)
at java.lang.reflect.method.invoke(method.java:613)
at org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106)
at org.apache.tools.ant.task.perform(task.java:348)
at org.apache.tools.ant.target.execute(target.java:390)
at org.apache.tools.ant.target.performtasks(target.java:411)
at org.apache.tools.ant.project.executesortedtargets(project.java:1399)
at org.apache.tools.ant.project.executetarget(project.java:1368)
at org.apache.tools.ant.helper.defaultexecutor.executetargets(defaultexecutor.java:41)
at org.apache.tools.ant.project.executetargets(project.java:1251)
at org.apache.tools.ant.module.bridge.impl.bridgeimpl.run(bridgeimpl.java:284)
at org.apache.tools.ant.module.run.targetexecutor.run(targetexecutor.java:539)
at org.netbeans.core.execution.runclassthread.run(runclassthread.java:153)
falha na construção (tempo total: 4 segundos)
Gostei + 0
01/11/2011
Rogério Martins
Gostei + 0
04/11/2011
Wanderson Pimenta
Internal Exception: Exception [EclipseLink-7333] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.ValidationException
Exception Description: The reference column name [id] mapped on the element [field sell] does not correspond to a valid field on the mapping reference.. Consulte o server.log para obter mais detalhes
Usando Netbeans 7.0.1
Gostei + 0
04/11/2011
Wanderson Pimenta
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name=id)
@Basic(optional=false)
private Integer id;
Gostei + 0
09/11/2011
Dyego Carmo
Qualquer coisa estou a disposição :)
Se sim , poderia fechar o chamado ?
Gostei + 0
15/11/2011
Rogério Martins
@Column (name=id)
Pode Fechar o Post! Obrigado galera...
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)