org.activiti.engine.ActivitiException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.binding.BindingException: Only interfaces can be configured by the MapperFactory. Type class org.activiti.engine.impl.persistence.entity.AttachmentEntity is not an interface.

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 activiti.org by Unknown author, 1 year ago
Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.binding.BindingException: Only interfaces can be configured by the MapperFactory. Type class org.activiti.engine.impl.persistence.entity.AttachmentEntity is not an interface.
via manning.com by Unknown author, 1 year ago
Error while building ibatis SqlSessionFactory: Error creating document instance. Cause: java.net.ConnectException: Connection timed out: connect
via Stack Overflow by thesivar
, 4 months ago
Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter
via entwickler-forum.de by Unknown author, 2 years ago
Error while building ibatis SqlSessionFactory: Error creating document instance. Cause: java.net.ConnectException: Connection timed out: connect
via activiti.org by Unknown author, 2 years ago
Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.binding.BindingException: Only interfaces can be configured by the MapperFactory. Type class org.activiti.engine.impl.persistence.entity.AttachmentEntity is not an interface.
org.apache.ibatis.binding.BindingException: Only interfaces can be configured by the MapperFactory. Type class org.activiti.engine.impl.persistence.entity.AttachmentEntity is not an interface.
at org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:35)
at org.apache.ibatis.session.Configuration.addMapper(Configuration.java:320)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.bindMapperForNamespace(XMLMapperBuilder.java:236)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:40)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:226)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:66)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initSqlSessionFactory(ProcessEngineConfigurationImpl.java:644)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:386)
at org.activiti.designer.test.DbSchemaCreate.main(DbSchemaCreate.java:17)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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