You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Joe Bergmark (JIRA)" <ji...@apache.org> on 2014/05/24 22:21:01 UTC
[jira] [Updated] (OWB-959) file:// urls are corrupted by
WebScannerService
[ https://issues.apache.org/jira/browse/OWB-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bergmark updated OWB-959:
-----------------------------
Attachment: OWB-959.patch
I've attached a patch that resolves the problem in my testing. If there are no concerns with this change I would be happy to commit it.
> file:// urls are corrupted by WebScannerService
> -----------------------------------------------
>
> Key: OWB-959
> URL: https://issues.apache.org/jira/browse/OWB-959
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.5
> Reporter: Joe Bergmark
> Assignee: Joe Bergmark
> Priority: Minor
> Attachments: OWB-959.patch
>
>
> Running the guess sample application from mvn with the jetty:run target on my system leads to no bean classes found.
> This appears to be caused by org.apache.webbeans.web.scanner.WebScannerService#createURLFromMarkerFile
> which prepends "file:/" to the URL which in my testing leads to a string that looks like "file:/file:/<path>" and causes no classes to be found
--
This message was sent by Atlassian JIRA
(v6.2#6252)