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.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web64

  • 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.
  • 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, 11 months ago
    Error while building ibatis SqlSessionFactory: Error creating document instance. Cause: java.net.ConnectException: Connection timed out: connect
  • Stack trace

    • 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. at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initSqlSessionFactory(ProcessEngineConfigurationImpl.java:649) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:386) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:362) at org.activiti.designer.test.DbSchemaCreate.main(DbSchemaCreate.java:17) Caused by: org.apache.ibatis.builder.BuilderException: 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. at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:68) at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:53) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initSqlSessionFactory(ProcessEngineConfigurationImpl.java:644) ... 3 more Caused by: 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) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago