# Compile problem mac os lion

**URL:** <https://community.wowza.com/t/compile-problem-mac-os-lion/391>\
**Category:** Wowza Streaming Engine\
**Created:** [July 30, 2011, 2:06pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391 "2011-07-30T14:06:21Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [July 30, 2011, 2:06pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/1 "2011-07-30T14:06:21Z")

</div>

Hi, When I updated the mac OS to LION - online problems.

When flash client connect to wowza.

before the upgrade everything was fine ☹

```auto
INFO server comment - Wowza Media Server is started!
Exception in thread "VHostHandler._defaultVHost_.16" java.lang.Error: Unresolved compilation problems: 
	The type java.util.List cannot be resolved. It is indirectly referenced from required .class files
	The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files
	The type java.lang.Integer cannot be resolved. It is indirectly referenced from required .class files
	The type java.util.Date cannot be resolved. It is indirectly referenced from required .class files
	The import java.text cannot be resolved
	The import java.util.Date cannot be resolved
	The import java.util.Iterator cannot be resolved
	The import java.util.List cannot be resolved
	The import java.util.TimeZone cannot be resolved
	The import java.lang.Integer cannot be resolved
	The import org.w3c cannot be resolved
	The import java.util.Vector cannot be resolved
	The hierarchy of the type Start is inconsistent
	Vector cannot be resolved to a type
	Vector cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getName() from the type IApplication refers to the missing type String
	The method getName() from the type IApplicationInstance refers to the missing type String
	System cannot be resolved
	String cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Boolean cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	System cannot be resolved
	The method call(String, IModuleCallResult, Object...) from the type IClient refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	Boolean cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	The method call(String, IModuleCallResult, Object...) from the type IClient refers to the missing type String
	The type java.util.HashMap cannot be resolved. It is indirectly referenced from required .class files
	The method put(String, IMediaStreamActionNotify2) is undefined for the type WMSProperties
	The hierarchy of the type StreamListener is inconsistent
	Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
	String cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	The method getParamUsers(String, IClient) from the type Start refers to the missing type String
	Vector<Autor> cannot be resolved to a type
	String cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	Vector<Autor> cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	The method get(String) is undefined for the type WMSProperties
	SuppressWarnings cannot be resolved to a type
	SuppressWarnings cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	Node cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	String cannot be resolved to a type
	The hierarchy of the type MyResult is inconsistent
	Implicit super constructor Object() is undefined. Must explicitly invoke another constructor
	The method getParamString(AMFDataList, int) from the type ModuleBase refers to the missing type String
	at com.itbom.webCam.Start.<init>(Start.java:1)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at com.wowza.wms.util.ModuleUtils.addModuleToApp(Unknown Source)
	at com.wowza.wms.util.ApplicationUtils.loadModules(Unknown Source)
	at com.wowza.wms.util.ApplicationUtils.loadConfigFile(Unknown Source)
	at com.wowza.wms.application.ApplicationInstance.loadConfig(Unknown Source)
	at com.wowza.wms.application.ApplicationInstance.<init>(Unknown Source)
	at com.wowza.wms.application.Application.getAppInstance(Unknown Source)
	at com.wowza.wms.module.ModuleConnect.connect(Unknown Source)
	at com.wowza.wms.request.RequestProcessFunctions.processFunctions(Unknown Source)
	at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)
	at com.wowza.wms.server.ServerHandler.serviceRequest(Unknown Source)
	at com.wowza.wms.server.ServerHandler.handleMessageReceived(Unknown Source)
	at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)
	at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

```

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 30, 2011, 2:09am UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/2 "2011-07-30T02:09:32Z")

</div>

It looks like Java is not installed correctly. Try downloading and installing the latest Java.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [July 30, 2011, 1:42pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/3 "2011-07-30T13:42:34Z")

</div>

If Linux, take look at this article:

[https://www.wowza.com/docs/how-to-manually-install-and-troubleshoot-java-on-your-wowza-media-server](https://www.wowza.com/docs/how-to-manually-install-and-troubleshoot-java-on-your-wowza-media-server))

If Windows, check which version of Java JAVA\_HOME is pointing to, and update if neccessary.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 1, 2011, 10:32pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/4 "2011-08-01T22:32:25Z")

</div>

Can you zip up and send us the conf _and_ logs folders from this server to support@wowza.com

Include a link to this thread for reference.

Richard

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [July 30, 2011, 3:26pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/5 "2011-07-30T15:26:38Z")

</div>

> It looks like Java is not installed correctly. Try downloading and installing the latest Java.

did not help java 1.6.26-b03-383

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [July 30, 2011, 4:48pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/6 "2011-07-30T16:48:13Z")

</div>

> If Linux, take look at this article:
> 
> [Install and troubleshoot Java on Wowza Streaming Engin](https://www.wowza.com/docs/how-to-manually-install-and-troubleshoot-java-on-your-wowza-media-server))
> 
> If Windows, check which version of Java JAVA\_HOME is pointing to, and update if neccessary.
> 
> Richard

did not help mac os x lion

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [July 30, 2011, 8:24pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/7 "2011-07-30T20:24:31Z")

</div>

> did not help mac os x lion

and install [http://support.apple.com/kb/DL1421](http://support.apple.com/kb/DL1421)

---

<div class="post-metadata">

**Author:** ![Alex\_Pidboretskyy](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Alex\_Pidboretskyy](https://community.wowza.com/u/Alex_Pidboretskyy)\
**Post date:** [July 31, 2011, 9:59am UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/8 "2011-07-31T09:59:16Z")

</div>

The application works fine on mac os x 10.6, after updating to 10.7 problems not only in this but in other wowza projects. I tried to recreate the result is the same. The process of compiling the application runs perfectly, and the import java package true test. The above error appears when a flash client connect to wowza, ie when it begins to work and wowza called to handle java.

---

<div class="post-metadata">

**Author:** ![Richard\_Glaser](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Richard\_Glaser](https://community.wowza.com/u/Richard_Glaser)\
**Post date:** [July 10, 2012, 10:04am UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/9 "2012-07-10T10:04:53Z")

</div>

So, was this resolved. I ran into the same issue and downgraded back to OS X 10.6 Server because of the issue.

But, I would like to upgrade to Mac OS X 10.7 Server, if there is a fix.

> pid,
> 
> I have not heard of anyone having problems with Wowza and OSX 10.7. You’re going to have to do some systematic troubleshooting. Try instaling a fresh copy of Wowza to a different directory. Run it. Do you still see the Java errors? If not, then your problem relates to something else, probably your custom modules.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 30, 2011, 1:40pm UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/10 "2011-07-30T13:40:51Z")

</div>

Hi pidboretskyy,

Since your errors are occuring after this line: “Wowza Media Server is started!”, this tells me Java/Wowza are running. It looks like you are running custom modules which are missing the correct import lines such as: import java.util.\*;

Check your modules. And/or try with a fresh install of Wowza and then add your modules in.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 31, 2011, 12:07am UTC](https://community.wowza.com/t/compile-problem-mac-os-lion/391/11 "2011-07-31T00:07:29Z")

</div>

pid,

I have not heard of anyone having problems with Wowza and OSX 10.7. You’re going to have to do some systematic troubleshooting. Try instaling a fresh copy of Wowza to a different directory. Run it. Do you still see the Java errors? If not, then your problem relates to something else, probably your custom modules.
