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

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Mon Nov 24 05:50:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Fennelly updated JBIDE-3255:
--------------------------------

    Description: 
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.

  was:
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 ass this in a FAQ or Known Issues doc, or even as a "possible cause" message addition to the "unable to load class..." error 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