[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3255) Unhelpful error message if users IDE doesn't define the "M2_REPO" variable

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Nov 24 06:51:47 EST 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439458#action_12439458 ] 

Max Rydahl Andersen commented on JBIDE-3255:
--------------------------------------------

Using Maven here is just one scenario that could cause this - i.e. if any jar is missing on the disc but referenced in the project might cause this too. Definitly an error situation that should cause a better informative message.

> Unhelpful error message if users IDE doesn't define the "M2_REPO" variable
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-3255
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3255
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>            Reporter: Tom Fennelly
>            Assignee: Xue Peng
>            Priority: Minor
>             Fix For: 3.0.0.cr1
>
>
> I created an eclipse project using maven, which links in the dependencies via the maven repo.  It references the maven repo via the "M2_REPO" variable.  When this variable wasn't set, I was unable to set the source and target java classes for the source and target models - just came back with an error ... "unable to load class ''" (i.e. empty quoted string).  The classes I was trying to set were in the actual project source (i.e. not in any of the linked in dependecies), so I'm not sure what the issue was.
> Might be a good thing to add this in a FAQ or Known Issues doc, or even as a "possible cause" message addition to the "unable to load class..." error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list