Right now the maven dependencies you declare in pom.xml are not added to the classpath of the Developer Studio projects and vice-versa. We will fix this issue in a future Developer Studio version.
As a workaround for the moment, you need to add the dependencies to the project classpath manually.