detinho Posted April 20, 2012 Share Posted April 20, 2012 Hi!I'm trying to use the JasperStudio plugin, with a Java Bean data source. I've created a simple bean, Person.When I try to use this bean to create a datasource, I get the folowing message:Class not found: com.test.PersonWhat should I do, so the plugin find my classes? Thanks in advance!Code:package com.test;import java.util.Arrays;import java.util.List;public class Person { private String name; public Person(String name) { super(); this.name = name; } public String getName() { return name; } public static List<Person> persons() { return Arrays.asList(new Person("Marcos"), new Person("Vinicius")); }} Link to comment Share on other sites More sharing options...
rafaferry Posted May 3, 2012 Share Posted May 3, 2012 I'm with the same problem...I've added my jar to classpath and it didnt work, and also i tried to import my project into the studio but the problem persists... Thanks Link to comment Share on other sites More sharing options...
chicuslavic Posted May 30, 2012 Share Posted May 30, 2012 can you try with Jaspersoft Studio 1.1.1 I added your class to java projects src folder (in classpath), it is visible Veaceslav Chicu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now