New Module Developer - NoClassDefFoundError org/openmrs/module/emrapi/patient/PatientDomainWrapper

10 views
Skip to first unread message

Craig A.

unread,
Feb 3, 2015, 10:17:53 AM2/3/15
to d...@openmrs.org
Hi Everyone,

I'm a new module developer trying to learn how to create a new dashboard. I'm getting the following error when I navigate to my patient dashboard page:

Error: java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/patient/PatientDomainWrapper

I think there's an issue with a dependency or the loading of my emrapi module in my dev system but don't know how to resolve it. I'm using openmrs v 2.1 Standalone as my dev environment.

My source code is available on github at https://github.com/SurvivorMIS/openmrs-module-SurvivorMIS

I have loaded the following modules:

Name

Version

Atlas Module

2.1

Form Entry App Module

1.1-SNAPSHOT

Reporting

0.9.2.1

Metadata Sharing

1.1.8

ID Generation

3.1-SNAPSHOT

EMR API Module

1.5-SNAPSHOT

Allergy UI Module

1.1-SNAPSHOT

Registration App Module

1.1-SNAPSHOT

HTML Form Entry UI Framework Integration Module

1.1

Logic Module

0.5.2

App Framework Module

2.3-SNAPSHOT

Reporting REST

1.3

Reference Metadata Module

2.3-SNAPSHOT

Metadata Mapping

1.0.1

OpenMRS UI Framework

3.3-SNAPSHOT

App UI Module

1.3-SNAPSHOT

Metadata Deploy

1.4-SNAPSHOT

Reference Application Module

2.2-SNAPSHOT

Name Phonetics

1.4

HTML Widgets

1.6.5

Serialization Xstream

0.2.7

Registration Core Module

1.1-SNAPSHOT

HTML Form Entry Extensions for OpenMRS 1.9 Module

1.4

Event Module

2.1

Core Apps Module

1.5-SNAPSHOT

Provider Management Module

2.2

Calculation

1.1

Allergy API Module

1.3-SNAPSHOT

SurvivorMIS

1.0-SNAPSHOT

HTML Form Entry

2.5-SNAPSHOT

UI Commons Module

1.4-SNAPSHOT

Rest Web Services

2.9.39bd19

Data Exchange Module

1.2

UI Library Module

2.0.4


Thank you for your help with this.
Sincerely,
Craig

Darius Jazayeri

unread,
Feb 3, 2015, 10:22:31 AM2/3/15
to dev
Hi Craig,

Make sure that your module declared that it requires the emrapi module in its config.xml.

-Darius

--
OpenMRS Developers: http://om.rs/dev
Post: d...@openmrs.org | Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
 
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15

Reply all
Reply to author
Forward
0 new messages