This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 144057 [details] Sample project In the provided project the line import com.wordnik.swagger.config.SwaggerConfig; shows an error
appears to work for me, please see screenshot (in latest dev builds) - http://screencast.com/t/Vz1MaNRDi52 please attach the IDE log file - http://wiki.netbeans.org/FaqLogMessagesFile do you have scala modules installed? The affected class file appears to be scala based. Also please attach the compilation classpath for the file with error (right click in projects view -> properties) please reopen with additional information provided
(In reply to Milos Kleint from comment #1) > appears to work for me, please see screenshot (in latest dev builds) - > http://screencast.com/t/Vz1MaNRDi52 > Yes I grabbed the latest nightly build and it's working. > please attach the IDE log file - http://wiki.netbeans.org/FaqLogMessagesFile > > do you have scala modules installed? The affected class file appears to be > scala based. Yes the dependency is a scala project and I don't have the scala plugin installed. > > Also please attach the compilation classpath for the file with error (right > click in projects view -> properties) > I will attach the log file for reference but don't know where to find the "compilation classpath" in the project properties. > please reopen with additional information provided I guess no need to reopen as it seems resolved.
Created attachment 144087 [details] messages.log
(In reply to dao from comment #2) > > > > Also please attach the compilation classpath for the file with error (right > > click in projects view -> properties) > > > > I will attach the log file for reference but don't know where to find the > "compilation classpath" in the project properties. > not project properties but the file's properties
(In reply to Milos Kleint from comment #4) > (In reply to dao from comment #2) > > > > > > > Also please attach the compilation classpath for the file with error (right > > > click in projects view -> properties) > > > > > > > I will attach the log file for reference but don't know where to find the > > "compilation classpath" in the project properties. > > > > not project properties but the file's properties C:\Users\Dao\.m2\repository\com\wordnik\swagger-jaxrs_2.10\1.3.1\swagger-jaxrs_2.10-1.3.1.jar;C:\Users\Dao\.m2\repository\org\scala-lang\scala-library\2.10.0\scala-library-2.10.0.jar;C:\Users\Dao\.m2\repository\com\wordnik\swagger-core_2.10\1.3.1\swagger-core_2.10-1.3.1.jar;C:\Users\Dao\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;C:\Users\Dao\.m2\repository\org\slf4j\slf4j-api\1.6.3\slf4j-api-1.6.3.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\module\jackson-module-scala_2.10\2.1.5\jackson-module-scala_2.10-2.1.5.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.1.5\jackson-core-2.1.5.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.1.5\jackson-databind-2.1.5.jar;C:\Users\Dao\.m2\repository\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\Users\Dao\.m2\repository\org\scala-lang\scala-reflect\2.10.0\scala-reflect-2.10.0.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.1.5\jackson-annotations-2.1.5.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\module\jackson-module-jsonSchema\2.1.0\jackson-module-jsonSchema-2.1.0.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.0.0\jackson-jaxrs-json-provider-2.0.0.jar;C:\Users\Dao\.m2\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.0.0\jackson-module-jaxb-annotations-2.0.0.jar;C:\Users\Dao\.m2\repository\com\wordnik\swagger-annotations\1.3.1\swagger-annotations-1.3.1.jar;C:\Users\Dao\.m2\repository\org\json4s\json4s-ext_2.10\3.2.4\json4s-ext_2.10-3.2.4.jar;C:\Users\Dao\.m2\repository\joda-time\joda-time\2.1\joda-time-2.1.jar;C:\Users\Dao\.m2\repository\org\joda\joda-convert\1.2\joda-convert-1.2.jar;C:\Users\Dao\.m2\repository\org\json4s\json4s-native_2.10\3.2.4\json4s-native_2.10-3.2.4.jar;C:\Users\Dao\.m2\repository\org\json4s\json4s-core_2.10\3.2.4\json4s-core_2.10-3.2.4.jar;C:\Users\Dao\.m2\repository\org\json4s\json4s-ast_2.10\3.2.4\json4s-ast_2.10-3.2.4.jar;C:\Users\Dao\.m2\repository\org\scala-lang\scalap\2.10.0\scalap-2.10.0.jar;C:\Users\Dao\.m2\repository\org\scala-lang\scala-compiler\2.10.0\scala-compiler-2.10.0.jar;C:\Users\Dao\.m2\repository\org\json4s\json4s-jackson_2.10\3.2.4\json4s-jackson_2.10-3.2.4.jar;C:\Users\Dao\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\Dao\.m2\repository\org\reflections\reflections\0.9.8\reflections-0.9.8.jar;C:\Users\Dao\.m2\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;C:\Users\Dao\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\Dao\.m2\repository\javassist\javassist\3.12.1.GA\javassist-3.12.1.GA.jar;C:\Users\Dao\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\Dao\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\Users\Dao\.m2\repository\javax\javaee-web-api\7.0\javaee-web-api-7.0.jar
C:\Users\Dao\.m2\repository\com\wordnik\swagger-core_2.10\1.3.1\swagger-core_2.10-1.3.1.jar is present on classpath, nothing appears to be wrong with maven project type classpath construction, reassigning to java for evaluation
Something is really wired with this bug. After disappearing in nightly builds it reappeared since 20140130 build.
Nothing to do with classpath module (displayed in properties).
Sorry, I've tried the project in both current dev version and the released 8.0 (build 201403101706) and error did not show up.