I have multiple projects in my workspace and I am using Tomcat 8 and maven ex :
Project A |_ Class A
Project B |_ Class B - this is using class A methods
while running on tomcat class B is not getting data from methods of class A.(it's working if I run it as a java file)
I have added Project A into Project B's Java Build Path and in deployment assembly.