org.jboss.deployment.DeploymentException: CMP field not found : fieldName=PK

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ejbca by lunchin
, 1 year ago
CMP field not found : fieldName=PK
via Coderanch by Rick Feenstr, 11 months ago
Error in jbosscmp-jdbc.xml : datasourc e-mapping titandb not found
via Google Groups by Greg Fenton, 2 years ago
Error in jbosscmp-jdbc.xml : datasource-mapping sybDB not found
via Oracle Community by 843829, 1 year ago
Error in jbosscmp-jdbc.xml : datasource-mapping PostgreSQL 7.3.3 not found
via Google Groups by Sven Kiesewetter, 1 month ago
Error in jbosscmp-jdbc.xml : datasource-mapping CustomerSite not found
via Oracle Community by 843830, 1 year ago
Error in jbosscmp-jdbc.xml : datasource-mapping postgreSQL not found
org.jboss.deployment.DeploymentException: CMP field not found : fieldName=PK
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:743)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:363)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:721)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.