cannot find symbol error!!!

within the metadatadeploy module,i am introducing DbSession and DbSessionFactory as per requirements of the ticket.I have done this by upgrading core from 1.10.0 to 1.10.2 as seen here https://pastebin.com/P3Z2jXuU I then import the DbSession and DbSessionFactory successfully as seen here https://pastebin.com/Uy8a9hp8 but on building i get a cannot find symbol error as seen here https://pastebin.com/rDvtJr7f Any suggestion on solving this @dkayiwa

[ERROR] /F:/openmrsmodules/modules/openmrs-module-metadatadeploy/api/src/main/java/org/openmrs/module/metadatadeploy/handler/impl/PersonAttributeTypeDeployHandler.java:[21,36] cannot find symbol

Did your project compile correctly at install?

1 Like

can you make sure your openMRSBuildVersion is being used and not anything else? else check the scopes of your openmrs-api dependencies. the easiest way to catch it look through and compare with some updated modules out there at

1 Like

okie then let me do that thanks

@herbert24, are you talking about this ticket here https://issues.openmrs.org/browse/DPLY-40.?? i thought you’re no longer working on it since it wasn’t claimed at all. if your still working on it , you can re-assign it back to your self otherwise i had taken it up

1 Like

first unassign from your side

ok ,but u can just switch anyway

ok you can go ahead and claim it

1 Like

following @k.joseph’s idea,i have checked my poms and made sure i get to the openmrsVersion that my DbSession and DbSessionFactory relies on, from that point i was able to upgrade the required pom,then theb build was successful with mvn clean install.thanks every one

1 Like