The relevant error message is:
PropertyNotFoundException: field [priority] not found on
org.openmrs.module.radiologymodule.Study

Does Study.getPriority() and setPriority(String) exist?

The trick to spring errors is to look at the first error printout.
There will be a large block of text and at near the end of that large
block (before the first stacktrace) is the true cause of the error.

Ben

On Fri, Sep 16, 2011 at 10:17 PM, juanpastas <[email protected]> wrote:
>
> Hello,
>
> I have the old structure, the metadata one, not the maven one.
>
> config.xml:
>
> ...
>   <mappingFiles>Radiology.hbm.xml</mappingFiles>
> ...
>
> Radiology.hbm.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> &lt;!DOCTYPE hibernate-mapping PUBLIC &quot;-//Hibernate/Hibernate Mapping
> DTD 3.0//EN&quot;
> &quot;http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd&quot;&gt;
>
> <hibernate-mapping package="org.openmrs.module.radiologymodule">
>        <class name="Study"
>                table="order_dicom_complement">
>                <id name="id" type="int" column="id" unsaved-value="0">
>                        <generator class="native" />
>                </id>
>                <property name="orderID" column="order_id"></property>
>                <property name="status" column="status"></property>
>                <property name="priority" column="priority"></property>
>                <property name="performingPhysicianUserId"
> column="performing_physician_user_id"></property>
>        </class>
> </hibernate-mapping>:
>
> I'm using jrebel, it worked well but suddendly it crashed after:
>
>  1. I changed a typo error in Radiology.hbm.xml.
>  2. Stopped the tomcat server because changes ( in Radiology.hbm.xml) were
> not being applied.
>  3. Packaged omod file, and replaced it in home/app_data/openmrs/modules
> (I'm on windows)
>  4. Restarted tomcat with jrebel.
>
> I append the stack trace, I think is too long, but maybe someone could do
> something with that, is something more could help, please say me.
>
> Thanks in advance
>
>
> http://openmrs-mailing-list-archives.1560443.n2.nabble.com/file/n6801906/stack_trace.txt
> stack_trace.txt
>
> --
> View this message in context: 
> http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Mapping-file-problem-tp6801906p6801906.html
> Sent from the Developers mailing list archive at Nabble.com.
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
> the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to