[ https://issues.apache.org/jira/browse/LABS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754845#action_12754845 ]
Norman Maurer commented on LABS-449: ------------------------------------ HI Daniel, about the DataSource problems.. Eclipse is a bit stupid about this ( at least I think its eclipse because it work to compile from cmdline without probs) :-/ You need to use java5 as jdk for hupa to getting rid of this. I had no time to understand how else I could workaround this. Some more info about the same problem in other project: http://markmail.org/message/q6y2c6j3qxqgv2nu#query:java%206%20type%20DataSource%20is%20not%20accessible%20due%20to%20restriction%20on%20required%20library+page:1+mid:tr2c5skr6mpn57y4+state:results And a solution for eclipse: http://lkamal.blogspot.com/2008/09/eclipse-access-restriction-on-library.html Any other solutions are welcome. Thx, Norman > Access restriction: The type DataSource is not accessible due to restriction > on required library > ------------------------------------------------------------------------------------------------- > > Key: LABS-449 > URL: https://issues.apache.org/jira/browse/LABS-449 > Project: Labs > Issue Type: Bug > Components: Hupa > Environment: java 1.6 > Reporter: Norman Maurer > Priority: Minor > > From gwt mailinglist: > Could you describe the steps necessary to create the Maven2 hupa > project in Eclipse more explicitly? I am unable to successfully build > the project as a result of the javax.activation imports throwing the > following error: Access restriction: The type DataSource is not > accessible due to restriction on required library C:\Program Files\Java > \jdk1.6.0_11\jre\lib\rt.jar > I found a guide to installing third party jars with maven -> > http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html , > however, I am unsure about how this is done via eclipse. > Thanks, > daniel -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org For additional commands, e-mail: labs-h...@labs.apache.org