Comments (9)
Where did you try to run nextRTC library?
2016-09-05 11:38 GMT+02:00 Aleksandr [email protected]:
Hi!
I try to build and run this project, but every time receive error:org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.nextrtc.examples.videochat_with_rest.SampleWebStaticApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:182) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.nextrtc.examples.videochat_with_rest.SampleWebStaticApplication.main(SampleWebStaticApplication.java:33) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) [idea_rt.jar:na]
Caused by: java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:163) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:292) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:168) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
... 17 common frames omitted
Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_65]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_65]
at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_65]
at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:152) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
... 21 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_65]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_65]
... 25 common frames omitted—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADysRchiqdTd_TS3CNJKTdTAbFgc8F8iks5qm-L8gaJpZM4J051z
.
Marcin Ślósarz
from nextrtc-videochat-with-rest.
Thank you for you quick replay!
I clone this project on my mac, open it in IntelliJ and try to run SpringBoot application using class -> SimpleWebStaticApplication.class
Actually I have tired to run nextrtc-example-videochat project to. And have the same error.
from nextrtc-videochat-with-rest.
Unfortunately, It doesn't work in this way, it's just a library.
If you want to see how it works you should checkout project
https://github.com/mslosarz/nextrtc-example-videochat
and deploy it on tomcat 8+ for example
2016-09-05 12:58 GMT+02:00 Aleksandr [email protected]:
Thank you for you quick replay!
I clone this project on my mac, open it in IntelliJ and try to run
SpringBoot application using class -> SimpleWebStaticApplication.class—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADysRWgce4O6mVmp0HomTy-RsR1gzWjsks5qm_XogaJpZM4J051z
.
Marcin Ślósarz
from nextrtc-videochat-with-rest.
Thank's for the replay.
I found how to start the application.
Can you please tell me, why I can't connect to ws://localhost:8080/signaling ?
I'm already try to switch off all security settings, try to change port and address, but every time I have this one:
Firefox can’t establish a connection to the server at ws://localhost:8080/signaling.
Event error do not have defined function nextRTC.js:39:3
https://www.google-analytics.com/r/collect [HTTP/2.0 200 OK 46ms]
ReferenceError: attachMediaStream is not defined
Some problem with browser?
If I run for one user with ECHO - all work fine. But with signaling server not working.
Thank you in advance!
May be we can communicate over skype or email? I think that you can solve this problem in a few minutes.
from nextrtc-videochat-with-rest.
I've just tried to run examples and it's working fine. I've check out
examples, type
mvn clean install && java -jar target/videochat.war
and then I could establish connection.
Maybe you've some bad configuration?
Could you please share me your configuration, and endpoint url?
2016-09-05 15:23 GMT+02:00 Aleksandr [email protected]:
Thank's for the replay.
I found how to start the application.
Can you please tell me, why I can't connect to
ws://localhost:8080/signaling ?
I'm already try to switch off all security settings, try to change port
and address, but every time I have this one:Firefox can’t establish a connection to the server at
ws://localhost:8080/signaling.
Event error do not have defined function nextRTC.js:39:3
https://www.google-analytics.com/r/collect [HTTP/2.0 200 OK 46ms]
ReferenceError: attachMediaStream is not defined
Some problem with browser?If I run for one user with ECHO - all work fine. But with signaling server
not working.Thank you in advance!
May be we can communicate over skype or email? I think that you can solve
this problem in a few minutes.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADysRRspdusNOQdczUlArWPQUlrxlHt1ks5qnBfRgaJpZM4J051z
.
Marcin Ślósarz
from nextrtc-videochat-with-rest.
Thank you! I found solution to start this project and resolve one of my local issues. I have been previously launch application where the ServerEndpoint is the same: /signaling. And during process start I've not seen this error, only when I deploy it on my tomcat I see this problem.
from nextrtc-videochat-with-rest.
Hi @intrade , I met exactly the same problem when I build and run a spring boot application in idea, can you please tell me how you solve it?
from nextrtc-videochat-with-rest.
from nextrtc-videochat-with-rest.
from nextrtc-videochat-with-rest.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextrtc-videochat-with-rest.