Upgraded website from Cold fusion 8 to Cold fusion 10. Initially was working Fine. Suddenly a part stopped working with the following error.
The getJoinsAsString package method in the C:\Apache\Tomcat\webapps\ROOT\Reactor\query\render\join.cfc component cannot be accessed from C:\Apache\Tomcat\webapps\ROOT\reactor\query\render\object.cfc.
This method has package access and both the components are present in the same package. Yet the only way to fix this seems to be changing the access from package to public. Though the website still works with package access in Cold Fusion 8. Would like to know why does this error occur all by itself?Or has some configuration changed in Cold Fusion 10 for this error to occur?