Alexander Mills created MJAVADOC-579:
----------------------------------------
Summary: 2 bugs with plugin - and javadocs
Key: MJAVADOC-579
URL: https://issues.apache.org/jira/browse/MJAVADOC-579
Project: Maven Javadoc Plugin
Issue Type: Bug
Environment: browser
Reporter: Alexander Mills
Not sure if this is a bug with the plugin or with the javadocs tool itself.
* *When generated javadocs load, I see these errors:*
{code:java}
package-summary.html:1 Refused to apply style from
'http://localhost:63343/async-java.github.io/v/0.1.0/resources/fonts/dejavu.css'
because its MIME type ('text/html') is not a supported stylesheet MIME type,
and strict MIME checking is enabled.
:63343/async-java.github.io/v/0.1.0/module-search-index.zip:1 Failed to load
resource: the server responded with a status of 404 (Not Found)
:63343/async-java.github.io/v/0.1.0/module-search-index.js:1 Failed to load
resource: the server responded with a status of 404 (Not Found)
:63343/async-java.github.io/v/0.1.0/tag-search-index.zip:1 Failed to load
resource: the server responded with a status of 404 (Not Found)
:63343/async-java.github.io/v/0.1.0/tag-search-index.js:1 Failed to load
resource: the server responded with a status of 404 (Not Found)
package-summary.html:1 Refused to apply style from
'http://localhost:63343/async-java.github.io/v/0.1.0/resources/fonts/dejavu.css'
because its MIME type ('text/html') is not a supported stylesheet MIME type,
and strict MIME checking is enabled.{code}
* *When the javadocs are loaded as an iframe, several features don't work, for
example I see these errors when I click on results from the searchbox:*
{code:java}
search.js:343 Uncaught TypeError: Cannot set property 'location' of undefined
at HTMLInputElement.select (search.js:343)
at $.(:63343/async-java.github.io/anonymous function).(anonymous
function)._trigger
(http://localhost:63343/async-java.github.io/v/0.1.0/jquery/jquery-ui.js:815:13)
at $.(:63343/async-java.github.io/anonymous function).(anonymous
function).menuselect
(http://localhost:63343/async-java.github.io/v/0.1.0/jquery/jquery-ui.js:2273:25)
at HTMLUListElement.handlerProxy (jquery-ui.js:726)
at HTMLUListElement.dispatch (jquery-1.10.2.js:5095)
at HTMLUListElement.elemData.handle (jquery-1.10.2.js:4766)
at Object.trigger (jquery-1.10.2.js:5007)
at HTMLUListElement.<anonymous> (jquery-1.10.2.js:5691)
at Function.each (jquery-1.10.2.js:657)
at init.each (jquery-1.10.2.js:266){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)