# \#imports

**URL:** https://community.openhab.org/tag/imports/851.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Import namespace doesn't import namespace](https://community.openhab.org/t/import-namespace-doesnt-import-namespace/150031)

<div class="topic-metadata">

**Author:** [@psych](https://community.openhab.org/u/psych)\
**Replies:** 1\
**Last updated:** [October 1, 2023, 5:08am UTC](https://community.openhab.org/t/import-namespace-doesnt-import-namespace/150031 "2023-10-01T05:08:40Z")

</div>

Guys, Was just given this solution to a problem on another thread and the namespace won’t import, or it imports and still fails to recognise the object or type. This is the code: import org.eclipse.smarthome.model.scr…

---

## [Add packages to my Openhab](https://community.openhab.org/t/add-packages-to-my-openhab/96930)

<div class="topic-metadata">

**Author:** [@chris504](https://community.openhab.org/u/chris504)\
**Replies:** 3\
**Last updated:** [April 21, 2020, 5:51pm UTC](https://community.openhab.org/t/add-packages-to-my-openhab/96930 "2020-04-21T17:51:37Z")

</div>

HI Guys, I have the problem that I don’t finde any informations how to add packages . For example I need this one: import org.openhab.library.tel.types.CallType What should I do to import/add the pakage to my openhab?

---

## [Import and use HttpUtil directly in rule](https://community.openhab.org/t/import-and-use-httputil-directly-in-rule/83016)

<div class="topic-metadata">

**Author:** [@xdanik](https://community.openhab.org/u/xdanik)\
**Replies:** 13\
**Last updated:** [October 6, 2019, 10:59am UTC](https://community.openhab.org/t/import-and-use-httputil-directly-in-rule/83016 "2019-10-06T10:59:29Z")

</div>

Hello, I want to do a HTTP POST request from a rule. The well documented way is to use the sendHttpPostRequest() action. The problem is, that I want to catch exceptions from it and sendHttpPostRequest() does not propa…

---

## [Where should I put a .jar for using it into rule?](https://community.openhab.org/t/where-should-i-put-a-jar-for-using-it-into-rule/12075)

<div class="topic-metadata">

**Author:** [@npapadimitriou](https://community.openhab.org/u/npapadimitriou)\
**Replies:** 7\
**Last updated:** [April 20, 2017, 3:09pm UTC](https://community.openhab.org/t/where-should-i-put-a-jar-for-using-it-into-rule/12075 "2017-04-20T15:09:03Z")

</div>

Hi I want to use jfuzzylite-5.0 jar file .I tried creating a folder and put the jar in \\server\\configuration\\org.eclipse.osgi\\bundles. Then I tried put it in \\distribution-1.8.3-runtime\\server\\plugins but neither of th…

---

## [Deprecated imports](https://community.openhab.org/t/deprecated-imports/22045)

<div class="topic-metadata">

**Author:** [@3DJupp](https://community.openhab.org/u/3DJupp)\
**Replies:** 11\
**Last updated:** [February 8, 2017, 5:41pm UTC](https://community.openhab.org/t/deprecated-imports/22045 "2017-02-08T17:41:55Z")

</div>

Since the latest updates i receive feedback to the configuration models: The use of wildcard imports is deprecated. The method toDateMidnight() from the type DateTime is deprecated Is there anyone who is facing the sam…
